LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

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)

192.168.0.0 0.0.0.0 255.255.255.0 U eth2
142.179.96.0 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 142.179.96.254 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?
 
  


Reply


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 05:20 PM
Incorrect Mouse, Incorrect Keymap, and Trapped in X Kenji Miyamoto Debian 8 08-24-2005 03:42 PM
Assignment of IP-Address santosh_pn Linux - Software 4 06-16-2005 12:22 PM
Last assignment and I am lost Veteq Programming 2 08-12-2004 02:55 PM
IP assignment - permanent? dalraidia Linux - Networking 1 12-13-2002 11:55 AM


All times are GMT -5. The time now is 12:37 PM.

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