Greetings,
Have a simple problem, I can't quite solve. We have a RHEL6 server that suddenly lost Internet connection and also cannot be accessed from a remote office subnet. Nere the ifconfig:
�]0;root@rizzo:~��[?1034h[root@rizzo ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 84:2B:2B:67:8E:36
inet addr:172.16.1.35 Bcast:172.16.255.255 Mask:255.255.0.0
inet6 addr: fe80::862b:2bff:fe67:8e36/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:846713895 errors:0 dropped:0 overruns:0 frame:0
TX packets:1605621540 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:95948260765 (89.3 GiB) TX bytes:2274825167179 (2.0 TiB)
eth0:1 Link encap:Ethernet HWaddr 84:2B:2B:67:8E:36
inet addr:172.16.0.15 Bcast:172.16.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
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:517609 errors:0 dropped:0 overruns:0 frame:0
TX packets:517609 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:48795592 (46.5 MiB) TX bytes:48795592 (46.5 MiB)
virbr0 Link encap:Ethernet HWaddr 52:54:00:43:97:9E
inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:125916 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:5795338 (5.5 MiB)
And route:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.122.0 * 255.255.255.0 U 0 0 0 virbr0
link-local * 255.255.0.0 U 1002 0 0 eth0
172.16.0.0 * 255.255.0.0 U 0 0 0 eth0
�]0;root@rizzo:~�[root@rizzo ~]#
My gateway router is 172.16.1.1 and it appears I don't have an entry for that. I can get to this box from my 172.16.1.0 network but not from my 172.17.1.0 network which is connected via T1 to the 172.16.1.1 router. Question is where do I add the default gateway entry. Can I add it so it will take effect immediately? Any help would be appreciated.
Regards