ROUTE ADD:
16:31 PM Thu/17/06/2010
==Adding network:
--FIX-NETWORK:
MEGAWAN(Bk): route add -net 172.16.8.0 netmask 255.255.255.0 gw 172.17.27.129 eth1
MPLS(Main) : route add -net 172.16.8.0 netmask 255.255.255.0 gw 172.17.27.130 eth1
route del -net 172.16.8.0 netmask 255.255.255.0 gw 172.17.27.130 eth1
route del -net 172.16.8.0 netmask 255.255.255.0 gw 172.17.27.129 eth1
route del -net 172.16.9.0 netmask 255.255.255.0 gw 172.17.27.130 eth1
route del -net 172.16.9.0 netmask 255.255.255.0 gw 172.17.27.129 eth1
--GDTX-NETWORK:
MPLS(Main) : route add -net 172.16.9.0 netmask 255.255.255.0 gw 172.17.27.130 eth1
MEGAWAN(Bk): route add -net 172.16.9.0 netmask 255.255.255.0 gw 172.17.27.129 eth1
==Adding host:
route add -host 172.16.8.80 gw 172.17.27.130 eth1
#
#
#
#
--FIX-NETWORK:
MEGAWAN(Bk): route add -net 172.16.8.0 netmask 255.255.255.0 gw 172.17.27.129 eth1
MPLS(Main) : route add -net 172.16.8.0 netmask 255.255.255.0 gw 172.17.27.130 eth1
route del -net 172.16.8.0 netmask 255.255.255.0 gw 172.17.27.129 eth1
--GDTX-NETWORK:
MEGAWAN(Bk): route add -net 172.16.9.0 netmask 255.255.255.0 gw 172.17.27.129 eth1
MPLS(Main) : route add -net 172.16.9.0 netmask 255.255.255.0 gw 172.17.27.130 eth1
ROUTE DELETE:
7:43 AM Thu/17/06/2010
route del -net 172.16.8.0 netmask 255.255.255.0 gw 172.17.27.129 eth1
Source: http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch03_:_Linux_Networking
VIEW ROUTE:
8:07 AM Thu/17/06/2010
--Khong duoc dung tren UNIX, SUN
#route -n
--Duoc ap dung tren Unix, SUN, LINUX
#netstat -rn
No comments:
Post a Comment