IP Routing - Router

 

 

Einführung:             Ziel ist es das LAN_1 mit dem LAN_2 zu verbinden (statisch).

 

Beispiel - IP

 

 

 

 

Router_1:

hostname Router_1

!

ip subnet-zero

ip routing

!

interface Ethernet 0

description connected to LAN_1: 191.100.100.0 /24

ip address 191.100.100.254 255.255.255.0

!

interface Serial 0

description connected to Router_2

ip address 194.200.200.1 255.255.255.252

encapsulation ppp

!

ip route 192.100.100.0 255.255.255.0 ser 0

!

end

 

Router_2:

hostname Router_2

!

ip subnet-zero

ip routing

!

interface Ethernet 0

description connected to LAN_2: 192.100.100.0 /24

ip address 192.100.100.254 255.255.255.0

!

interface Serial 0

description connected to Router_1

ip address 194.200.200.2 255.255.255.252

encapsulation ppp

!

ip route 191.100.100.0 255.255.255.0 ser 0

!

end

 

 

 


 

Copyright ©     www.datahelp.de

Modifizierung oder Weitergabe an Dritte nur mit Einverständnis des Autors gestattet !