LinuxQuestions.org
Visit Jeremy's Blog.
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-10-2008, 08:21 AM   #1
comby
LQ Newbie
 
Registered: Mar 2008
Posts: 5

Rep: Reputation: 0
2 NICs / 2 IPs on the internet?


Hello,

I'am having 2 NIC's with 2 different (internet-)IP's on my debian server.

Only one IP of them is pingable, based on the route configured.. but I want them both to be online, is there any way to do that?

Bonding wont help here, since I want 2 different IPs for the same machine.

So I actually have:

eth0 = internet NIC (IP #1)
eth1 = internet NIC (IP #2)
eth2 = local lan NIC

Code:
# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth2
89.x.144.0    0.0.0.0         255.255.240.0   U     0      0        0 eth0
89.x.144.0    0.0.0.0         255.255.240.0   U     0      0        0 eth1
0.0.0.0         89.x.144.1    0.0.0.0         UG    0      0        0 eth1
Anyone knows what to do?
 
Old 04-10-2008, 08:52 AM   #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
why do you ahve two ip's in the same subnet on different nic's that doesn't make sense, you'd set them as like, eth0 and eth0:1 to use two normally, and are you really sure it's a /20 public subnet? how's that work??
 
  


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
2 NICs connected to internet with different IPs Lextasy Linux - Networking 5 02-01-2008 08:57 AM
NICs and Internet - Need Help theGrayFox Linux - Hardware 3 06-30-2004 04:53 AM
Two nics, no internet Cheza Linux - Wireless Networking 1 05-06-2004 12:01 PM
2 Nics, 2 IPs, 2 Routers, 1 Computer bozeman Linux - Networking 6 04-13-2004 02:09 AM
Multiple IPs on two NIcs dexteroo Linux - Networking 2 09-09-2003 06:55 AM

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

All times are GMT -5. The time now is 08:48 PM.

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