LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-12-2008, 03:46 PM   #1
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Rep: Reputation: 55
No connectivity on second NIC


I am trying to connect my linux box with 2 nics, to 2 seperate networks for the first time but its not working.

I set the IP on eth1 to 192.168.1.6, eth0 points points to a public IP 205.xx.xx.xx, but I am unable to ping another server on the private network, 192.168.1.5. The gateway on that network is 192.168.1.1.

My gateway in /etc/sysconfig/network is set to 205.xx.xx.1

I also try running:
route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.1.1

Do you know what I am doing wrong?

TIA

Last edited by abefroman; 04-12-2008 at 03:48 PM.
 
Old 04-12-2008, 04:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well you can't have a gateway to a locally connected network, that is by definition illogical - you're already there. can we see the output of ifconfig please?
 
Old 04-12-2008, 05:18 PM   #3
abefroman
Senior Member
 
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430

Original Poster
Rep: Reputation: 55
Fixed, this was an eye-dee-ten-tee error.
 
Old 04-13-2008, 01:16 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i prefer layer 8 myself...
 
  


Reply



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
NIC Bonding - Intermittant Connectivity GISPro Linux - Networking 1 02-07-2008 05:00 AM
eth0 NIC Card Not Working! 3com 3c501 NIC. Mustard010 Linux - Networking 16 08-15-2007 02:22 AM
NIC detected, but no connectivity PressAnyKey Slackware 3 03-09-2007 11:22 AM
Orange Light on NIC no connectivity? neilcpp Linux - Networking 7 08-19-2005 05:27 PM
1 NIC + 1 NIC = 0 connectivity michaelsanford Linux - Networking 2 04-11-2005 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:13 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
Open Source Consulting | Domain Registration