netstat: incorrect eth assignment
Briefly: I use eth0 as my network connection/default gateway, and eth2 for my internal lan connections. Works fine.
Netstat -nr returns (as expected)
192.168.0.0 0.0.0.0 255.255.255.0 U eth2
188.8.131.52 0.0.0.0 255.255.248.0 U eth0
127.0.0.0 0.0.0.0 255.0.0.0 U lo
0.0.0.0 184.108.40.206 0.0.0.0 UG eth0
Because I am using my own dns, I have to use manual setup for the static ip, otherwise my resolv.conf and named files get massacred. I understand that.
The problem comes with setting up the second static IP to handle ssh traffic requiring number rather than name resolution.
While I clearly identify eth1, and ifconfig reflects the correct information, netstat appears to 'overwrite' the existing eth0 destination line, replacing it with 2 equal eth1 lines.
Both static IPs do, of course, have the same netmask. Is this going to cause operational problems? Is there a way to force netstat to 'pay attention' to ifconfig, so to speak?
|All times are GMT -5. The time now is 02:19 AM.|