Review your favorite Linux distribution.
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 01-25-2003, 02:48 PM   #1
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Rep: Reputation: 31
5 DHCP addresses and 7 machines


This one is weird - and not for the weary...

I got really lucky and signed with my local Time Warner Cable Modem office while they were still setting up. I have a great account with 5 IP addresses.

I love having the ability to use any two-way Internet service from any computer - consider AOL IM file sharing - which requires port 4443 mapped to a reachable IP address.

I am using IPFilter (ipf) to do router/firewalling - and have no problem using DHCP with my router and IP Masq (a.k.a. Network Address Translation) to run my other 6 computers through 1 IP address. (one for each child - a laptop for the wife - the rest are mine).

However, I want to have the best of BOTH worlds. I want to be able give Live IP addresses to my 3 or 4 user machines, and assign NAT to the other users. I currently have 2 NIC cards in my router - and because of the chassis- it would be expensive (US$200+) to put in another.

Anybody have any ideas? Can this be done - or is this a pipe dream?
Old 01-25-2003, 04:08 PM   #2
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45

OK don't get too offended by this because it's just a little pet peeve of mine but

...currently have 2 NIC cards...
They are just NICs, otherwise it would be a Network Interface Card Card which isn't the same as a PIN number (Personal Identification Number Number) that you would use at the ATM machine (Automated Teller Machine Machine) to access your IRA account (Individual Retirement Account Account)

Whew, ok now that I got that silly little pet peeve off my chest lets see what was he asking? OK...

I don't belive the linux kernel allows you to route some data through NAT and route other data straight through to an IP address, at least I know it doesn't do it if it's all going out through one network card. So at the very least you'd have to buy another NIC; I know some companies (Intel used to but may not anymore) sell dual port NICs. These are basically 2 NICs combined on one PCI card, but some of these can be quirky to say the least. I also know you can't use one IP on one side of your router and bridge some live IPs (in the same subnet) across while routing to other IPs (again, if they are all connected to the same NIC) that are on a different subnet.

Wow! That confused even me and I wrote it!

So at the very least you could find yourself a dual port NIC or blow the 200 bones for the case upgrade and probably pull it off with one NIC to the ISP, one to the NATted machines and one bridged to the public domain IP boxes and then try to figure out how to get a working firewall ruleset for said configuration. You would probably have to tinker with a firewall setup that worked with just the NATted boxes then rip that out and set up the bridge and find a firewall ruleset that worked with them then figure out how to combine those two rulesets without them conflicting.

But in theory it IS possible, anyone chime in if they have anything to add...
Old 01-25-2003, 04:23 PM   #3
Registered: Apr 2002
Location: St. Paul, Minnesota
Distribution: UbuntuStudio, Ubuntu
Posts: 357

Original Poster
Rep: Reputation: 31
Darin - About your pet peave...
I thought that NIC card meant Network Interface Controller... card. Although I have been guilty of saying, "ATM Machine" - but for the courtesy of your own pet peave - insert "Money"

According to your post, it sounds like I am thinking pipe dream... I'll start another post on a different approach.

Last edited by GAVollink; 01-25-2003 at 04:25 PM.


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
Automatically renewing DHCP addresses? irishbear Linux - Networking 6 01-21-2005 11:53 AM
Multiple addresses on one NIC via DHCP - possible? babzog Linux - Networking 0 03-25-2004 10:43 AM
DHCP: 1 hostname, 2 IP addresses, only 1 is reachable? agl Linux - Networking 2 09-21-2003 08:46 PM
DHCP excluding IP addresses AndyJ Linux - Networking 8 03-03-2003 03:09 PM
Finding all ip addresses from your dhcp servers J-Stew Linux - Networking 1 08-27-2002 07:19 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:09 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