Difference between revisions of "Quagga: Setting IP address"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 3: | Line 3: | ||
configure terminal | configure terminal | ||
+ | ! eth0 tersambung nat0 GNS3 | ||
+ | interface eth0 | ||
+ | ip address 192.168.122.100/24 | ||
+ | ip address 192.168.122.101/24 | ||
+ | ip address 192.168.122.102/24 | ||
+ | exit | ||
+ | ip route 0.0.0.0 0.0.0.0 192.168.122.1 | ||
+ | |||
+ | ! eth1 ke client | ||
+ | interface eth1 | ||
+ | ip address 10.10.10.1/24 | ||
+ | exit | ||
+ | |||
+ | ! eth2 ke client | ||
+ | interface eth2 | ||
+ | ip address 10.10.20.1/24 | ||
+ | exit | ||
+ | |||
+ | ! | ||
+ | end | ||
Latest revision as of 10:58, 24 December 2018
vtysh configure terminal
! eth0 tersambung nat0 GNS3 interface eth0 ip address 192.168.122.100/24 ip address 192.168.122.101/24 ip address 192.168.122.102/24 exit ip route 0.0.0.0 0.0.0.0 192.168.122.1
! eth1 ke client interface eth1 ip address 10.10.10.1/24 exit
! eth2 ke client interface eth2 ip address 10.10.20.1/24 exit
! end