20 lines
464 B
Markdown
20 lines
464 B
Markdown
enable
|
|
configure terminal
|
|
!
|
|
interface e0/0
|
|
ip address 192.168.10.1 255.255.255.248
|
|
no shutdown
|
|
!
|
|
interface e0/1
|
|
ip address 192.168.20.1 255.255.255.248
|
|
no shutdown
|
|
!
|
|
ip route 10.10.1.0 255.255.255.0 192.168.10.2
|
|
ip route 10.10.2.0 255.255.255.0 192.168.10.2
|
|
ip route 10.10.5.0 255.255.255.0 192.168.10.2
|
|
ip route 10.10.3.0 255.255.255.0 192.168.20.2
|
|
ip route 10.10.4.0 255.255.255.0 192.168.20.2
|
|
ip route 10.10.6.0 255.255.255.0 192.168.20.2
|
|
!
|
|
end
|
|
write memory |