H3C router configuration is shown a row

Description:

  As shown above, the head office of the network segment 192.168.0.0, 192.168.3.0 and 192.168.4.0 own current branch network is a network, and the network is not 192.168.3.0 to access the Internet, a network 192.168.4.0 with Internet access

Claim:

  Currently requires 192.168.3.0 network can access the Internet, how should you cook can make the 192.168.3.0 network to access the Internet? [H3C router is a router R3]

 

 

Solutions are as follows:

  Build a cable between two switches, so that even as the LAN (local area network but it has two segments), if you want to 192.168.3.0 network can access the Internet, it is necessary to configure a default route R3 above

 

In the above R3 router add the following command:

[R3-GigabitEthernet0 / 0] ip address 192.168.3.254 24 sub add addresses to the plurality of gateway router R3

[R3-GigabitEthernet0/0]quit

[R3] ip route-static 0.0.0.0 0 192.168.4.1 192.168.3.0 network that can access the external network

This step can be omitted: [R3] ip route-static 192.168.0.0 24 192.168.3.1 192.168.3.0 network that can access the network segment 192.168.0.0 normal ([H3C] ip route-static 192.168.0.0 24 192.168.2.1)

Further explanation: If you execute the above command, 192.168.3.0 and 192.168.4.0 network segment is not communication, if you want to communicate, you can take the two segments of the subnet mask to forward displacement (255.255 .0.0; other equipment to consider their own)

Guess you like

Origin www.cnblogs.com/l75790/p/11022550.html