Lâm Thị Yến Vy
Member
How do I save a route in Linux?
Answer
The format of /etc/sysconfig/network/routes is as follows:
Answer
The format of /etc/sysconfig/network/routes is as follows:
- # Destination Dummy/Gateway Netmask Device.
- #
- 180.200.0.0 10.200.6.201 255.255.0.0 eth0.
- 180.200.3.170 10.200.6.201 255.255.255.255 eth0.
- The first column is the routing target, which can be the IP address of the network or host; …
- /etc/init.d/network restart.