LinuxQuestions.org
Register a domain and help support LQ
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 04-19-2004, 01:54 PM   #1
gjs286
LQ Newbie
 
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Multiple Ethernet Interfaces


I've set up a RH9 box as follows:

eth0: IP address of 192.168.0.201, with gateway of 192.168.0.1
eth0: no IP, promisc mode (for Snort)

Whenever the machine reboots, the route table shows the default route assigned to eth1, leaving the Internet inaccessible. I have to manually assign the default route to eth0 every time.

How do I make this change permanent? I'm happy to RTFM, but I haven't found the right resource that tells me how to properly configure two Ethernet interfaces.

thanks,
Greg
 
Old 04-19-2004, 02:09 PM   #2
paulsm4
Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Several ways to do this...

Hi -

You should be able to set up everything you need from the "Network Configuration" GUI. Unfortunately, I'm running SuSE Linux (which has a different GUI, "YaST2"), so I can't offer you any specifics.

Your best bet is to use "ifconfig" to determine what's going on (for example, "man 8 ifconfig" or "ifconfig eth0").

On SuSE, the "persistent configuration" created by the YAST2 GUI and read by during SuSE boot is contained in the directory "/etc/sysconfig/network". I'm not sure where your equivalent "local configuration" text files are located on RH9, but they're probably under "/etc" and they're probably not too difficult to find.

'Hope that helps .. PSM
 
  


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
dhcpd on multiple ethernet interfaces Jestrik Linux - Networking 10 10-03-2011 10:40 AM
Red Hat 7.3 and multiple gateways on multiple interfaces bluefmc Linux - Networking 2 11-19-2004 06:01 PM
IPTables and multiple interfaces MaverickApollo Linux - Networking 7 12-28-2003 05:19 PM
multiple loopback interfaces arkin Linux - Networking 1 11-18-2003 05:22 PM
DHCPd for multiple interfaces Noerr Linux - Networking 2 02-07-2003 07:40 PM


All times are GMT -5. The time now is 01:08 AM.

Main Menu
Advertisement
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