惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - will not update

汇编----串操作类指令 自己动手写操作系统(三) 自己动手写操作系统(二) 自己动手写操作系统(一) 讲解Linux下汇编语言的几篇文章 cs8900a驱动移植笔记 LCD驱动程序往2.6.11内核的移植总结 基于Linux2.6的YAFFS文件系统移植 Linux操作系统网络驱动程序编写 ramdisk+busybox howto 编译busybox支持嵌入式系统需要注意的几点 用MINICOM的XMODEM来传输文件 2.6.12内核移植到s3c2410需注意的几点 add yaffs fs to kernel port linux 2.6.11.7 kernel to s3c2410(SMDK2410) 安装FC4的“Less than 4MB of memory”问题解决 fedora core 3 安装 支持Netfilter的Linux以太网桥的建立 Linux操作系统下C语言编程入门
用Cisco router 做内部局域网
will not update · 2005-03-16 · via 博客园 - will not update

     由于实验需要,需要搞个内部局域网(以前我们实验室是直接从学校拖了根线过来,然后直接用switch连)。因此得先配个router,做个小局域网。由于从没接触过路由器,所以先去网上找了些资料,接着就打开cisco2600开始配置,设好了用户名和密码之后,reload一下,发现还是那个要你设置用户名和密码的dialog对话,晕~~~~~~。试了好几次,还是这样,便去问个配置过路由器的朋友,他试了几次还是如此,只能打电话去问技术支持。老半天后,才知道是0x42的寄存器有问题,要把启动的寄存器改为0x2102。
      接着就进行配置了,简单地做了个NAT,由于我们学校有几个IP地址快一点,所以就把自己的IP和那个快的IP做了个静态的一对一,嘿嘿!不过还是真是懊恼,因为路由器的命令和LINUX的命令不同,所以我经常打错的。以下是我的配置,由于对路由器配置不熟,可能配的不是很好,希望有高手看到,指点一二:

version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname netsec
!
no logging console
enable secret 5 $1$gft0$aZPcYf/f1TY8Am3poVFUW1
enable password 123456
!
ip subnet-zero
!
!
ip name-server 210.33.88.1
!
!
!
!
interface FastEthernet0/0
 ip address 192.168.1.1 255.255.255.0
 ip nat inside
 duplex auto
 speed auto
 no cdp enable
!
interface FastEthernet0/1
 ip address 210.1.1.1 255.255.255.0
 ip access-group 110 in
 ip nat outside
 duplex auto
 speed auto
 no cdp enable
!
router rip
 network 192.168.1.0
 network 210.1.1.0
!
ip nat inside source list 1 interface FastEthernet0/1 overload
ip nat inside source static 192.168.1.131  210.1.1.131
ip nat inside source static 192.168.1.132  210.1.1.132
ip nat inside source static 192.168.1.138  210.1.1.138
ip classless
ip route 0.0.0.0 0.0.0.0 210.1.1.7
ip route 192.168.1.0 255.255.255.0 FastEthernet0/0
no ip http server
ip pim bidir-enable
!
!
access-list 1 permit 192.168.1.0 0.0.0.255
access-list 110 deny   icmp any any echo
no cdp run
!
!
line con 0
 exec-timeout 0 0
line aux 0
line vty 0 4
password 123456
login
!
!
end