Bluehost.com Web Hosting $6.95

Multiple IPs from 1 ADSL on 1 box?

This is a discussion on Multiple IPs from 1 ADSL on 1 box? within the Linux Networking forums, part of the Linux Forums category; My ISP offers 2 DHCP IPs to each customer, so I wondered if it was possible to use both of ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 05-27-2007
John Doe
 
Posts: n/a
Default Multiple IPs from 1 ADSL on 1 box?

My ISP offers 2 DHCP IPs to each customer, so I wondered if it was possible to
use both of them and rotate, but on 1 box with 1 eth card?

My Linux 2.4 kernel box with iptables is used for a NAT box. It connects to
the ADSL modem on eth0. No pppoe is used. (My home network is on eth1 which
connects to a hub)

Example: Something like opening two telnet clients (on the linux box) and one
is "from" one address, the other is "from" the other.

Would virtual ethernet adapters allow this?

eth0 being 1 address
eth0:1 being the other? (somehow routing through the "real" eth0 to the ADSL
modem and getting the dhcp address)?

How would I set this up? (how to get the dhcp for the second address?)

How do I choose which is default for the NAT'd boxes behind eth1's hub to go
through? How do I choose which is used in applications on the localhost linux
box?

I was just wondering if this crazy idea is even possible. Any tips in the
right direction would help.

thanks!



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:24 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0