[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Having 2 LAN Card w/ 2 Diff(Live/Internet) IP



  I'm not clear what you want. Which picture is closest?


a)
     | eth0 111.111.111.111
   -------
   | box |
   -------
     | eth1 222.222.222.222

b)
     | eth0 111.111.111.111, and 222.222.222.222
   -------
   | box |
   -------

c)
     | eth0 (also called eth1) 111.111.111.111, and 222.222.222.222
   -------
   | box |
   -------

d)
     | (eth0 111.111.111.111) and (eth1 222.222.222.222)
   -------
   | box |
   -------

  from my experience a) and b) are possible. Don't know about c) and d),
  but if you can have one physical NIC specified by two different
  interfaces then they could be possible, but I doubt this is possible.

  Once we are clear on how the box should be configured, we can go on to
  talk about the apps.

  Geoff Crompton

On Thu, Sep 12, 2002 at 08:36:05AM +0800, louie miranda wrote:
> Im guessing something and im not sure if this will work, i dont have much
> hardware to test it on and i am very curious abt it.
> 
> Is this possible?
> 
> Having 2 LAN (NIC) with 2 DIFF IPs;
> ex: (let say this are internet live ips that i own)
> 
>  1.) 111.111.111.1
>  2.) 222.222.222.2
> 
> Now, on my Debian box. I want to make it both as eth0 and eth1.
> I want some of my apps to route their outgoing packets to, lets say.
> 
> app1 & app2
> 
> app1 >> 111.111.111.1 (App1 will route all outgoing and incoming packets to
> that ip)
> 
> and..
> 
> app2 >> 222.222.222.2 (App2 will route all outgoing and incoming packets to
> that ip)
> 
> Will i have a conflict for my gateway here? Or in any desperate way can i
> have two gateway
> and have this 2 IP working on both diff nic's?
> 
> I've ask some person on irc's and they say im hell, blah blah. I just want
> to learn and figure
> things out. I hope you guys here at Debian w/ your expertise on Linux,
> etcetc. Could help me
> figure out my problem in any way it should be.
> 
> Regards,
> Louie...
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: