Professional Documents
Culture Documents
ip add ip mac
int l0
ip add ip mac
passive-interface default
no passive s0/?
no passive f0/?
no auto
Config)#
router rip
ver 2
net ip
redistribute
-ospf ? metric ?
ex
-- --- --
-rip subnets
ex
enab
conf t
int s0/1
ip add 10.10.10.1 255.255.255.0
no shut
exit
int l0
ip add 192.168.100.1 255.255.255.0
no shut
exit
router ospf 100
auto-cost reference band 1000
passive-interface default
no passive s0/1
net 10.10.10.0 0.0.0.255 area 0
net 192.168.100.0 0.0.0.255 area 0
exit
------------------------------------------
R2
enab
conf t
int s0/0
ip add 140.128.240.1 255.255.255.252
no shut
exit
int s0/1
ip add 10.10.10.2 255.255.255.0
no shut
exit
int f0/0
ip add 20.20.20.1 255.255.255.0
no shut
exit
ip route 0.0.0.0 0.0.0.0 s0/0
router ospf 100
auto-cost reference band 1000
passive-interface default
net 10.10.10.0 0.0.0.255 area 0
net 20.20.20.0 0.0.0.255 area 0
no passive s0/1
no passive f0/0
default-information originate always
exit
-----------------------------------------
R3
enab
conf t
int l0
ip add 172.16.100.1 255.255.255.0
no shut
exit
int f0/0
no shut
ip add 20.20.20.2 255.255.255.0
router ospf 100
auto-cost reference band 1000
passive-interface default
no passive f0/0
net 20.20.20.0 0.0.0.255 area 0
net 172.16.100.0 0.0.0.255 area 0
exit