Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-26-2004, 01:26 PM   #1
Registered: Jul 2003
Location: Victoria, British Columbia
Distribution: Mandriva 2010 (cooker) with Bind9, Sendmail, Postgresql and Apache2 servers
Posts: 63

Rep: Reputation: 15
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) U eth2 U eth0 U lo 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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
automatic Ip assignment rupeshdwivedi Linux - Networking 1 08-31-2005 04:20 PM
Incorrect Mouse, Incorrect Keymap, and Trapped in X Kenji Miyamoto Debian 8 08-24-2005 02:42 PM
Assignment of IP-Address santosh_pn Linux - Software 4 06-16-2005 11:22 AM
Last assignment and I am lost Veteq Programming 2 08-12-2004 01:55 PM
IP assignment - permanent? dalraidia Linux - Networking 1 12-13-2002 10:55 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:36 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration