[root@ns1 root]# cd /etc/sysconfig/network-scripts [root@ns1 network-scripts]# ls ifcfg-eth0 ifdown@ ifdown-post* ifup@ ifup-ipx* ifup-post* ifcfg-eth1 ifup-sl* network-functions-ipv6 ifdown-ippp* ifdown-ppp* ifup-aliases* ifup-isdn@ ifup-ppp* ifup-wireless* ifdown-ipv6* ifdown-sit* ifup-ippp* ifup-plip* ifup-routes* init.ipv6-global* ifcfg-lo@ ifdown-isdn@ ifdown-sl* ifup-ipv6* ifup-plusb* ifup-sit* network-functions route-eth0 route-eth1 [root@ns1 network-scripts]# vi route-eth0 #192.168.0.2/24 via 192.168.0.1 dev eth0 192.168.0.1 via 192.168.0.2 dev eth0 [root@ns1 network-scripts]# vi route-eth1 #192.168.1.2/24 via 192.168.1.1 dev eth1 192.168.1.1 via 192.168.1.2 dev eth1 [root@ns1 network-scripts]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 * 255.255.255.0 U 0 0 0 eth1 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 [root@ns1 network-scripts]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0A:79:28:80:FC inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:484 errors:0 dropped:0 overruns:0 frame:0 TX packets:451 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:41650 (40.6 Kb) TX bytes:93152 (90.9 Kb) Interrupt:18 Base address:0xbc00 eth1 Link encap:Ethernet HWaddr 00:90:FE:42:D6:FE inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:240 (240.0 b) Interrupt:19 Base address:0xb800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:92 errors:0 dropped:0 overruns:0 frame:0 TX packets:92 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8014 (7.8 Kb) TX bytes:8014 (7.8 Kb)