[root@fd network-scripts]# nano route-eth0 192.168.0.1 via 192.168.0.8 dev eth0 Ctrl + x y [root@fd network-scripts]# nano route-eth1 192.168.1.1 via 192.168.0.16 dev eth1 Ctrl + x y [root@fd network-scripts]# /etc/init.d/network restart Shutting down interface eth0: [ OK ] Shutting down interface eth1: [ OK ] Shutting down loopback interface: [ OK ] Disabling IPv4 packet forwarding: net.ipv4.ip_forward = 0 [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] Bringing up interface eth1: [ OK ] [root@fd network-scripts]# ifconfig eth0 Link encap:Ethernet HWaddr 00:0A:79:28:80:FC inet addr:192.168.0.8 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: 2408:81:2d6:0:20a:79ff:fe28:80fc/64 Scope:Global inet6 addr: fe80::20a:79ff:fe28:80fc/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5725 errors:0 dropped:0 overruns:0 frame:0 TX packets:4329 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:5555538 (5.2 Mb) TX bytes:429651 (419.5 Kb) Interrupt:18 Base address:0xbc00 eth1 Link encap:Ethernet HWaddr 00:90:FE:42:D6:FE inet addr:192.168.0.16 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: 2408:81:2d6:0:290:feff:fe42:d6fe/64 Scope:Global inet6 addr: fe80::290:feff:fe42:d6fe/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:65 errors:0 dropped:0 overruns:0 frame:0 TX packets:127 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6340 (6.1 Kb) TX bytes:9370 (9.1 Kb) Interrupt:19 Base address:0xb800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) [root@fd network-scripts]# route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0 link-local * 255.255.0.0 U 1002 0 0 eth0 link-local * 255.255.0.0 U 1003 0 0 eth1 192.168.0.0 * 255.255.255.0 U 0 0 0 eth0 192.168.0.0 * 255.255.255.0 U 0 0 0 eth1 192.168.0.1 fd.errorz.net 255.255.255.255 UGH 0 0 0 eth0 192.168.1.1 ammonite.error 255.255.255.255 UGH 0 0 0 eth1 [root@fd network-scripts]#