On Mon, Mar 11, 2002 at 05:53:52PM -0300, Jordi S. Bunster wrote: > > Hello list. This is probably off-topic, though is Debian in an ISP > environment. I don't know. Problem follows: > > I've got a Debian box acting as a webserver at a small ISP here, and > connection is a 1mbps fiber link. They've given us a full Class C network > for some other purposes. But we're planning on switching bandwidth provider, > and the new one already brought his link and router. > > The thing is, I've put a second network card, and I've attached it to the > server. The new router is on a different hub. I can use this new link if I > use my Debian box to connect to somewhere in the world, say mit.edu. But > people from outside cannot reach me using this new IP address. > > I know this is because of the entry "gateway" in /etc/network/interfaces. > This come trough the new router, but it wants to reply using the gateway, > which is the old router. > > How can I properly have both network cards and both IPs, and be able to be > found by both of them? I'm really puzzled here. Thanks for any help, and > sorry for being so off-topic. Oh, and I'm not subscribed to the list, so > please Cc: to [EMAIL PROTECTED], ok?
Jordi, If your "old" ISP is blocking the outgoing packets with the "new" source addresses, then your best solution is probably to implement source-routing via the tools in the "iproute" package. The configuration can get pretty complex, depending on what you need to do, so you probably want to check out the Advanced Routing HOWTO: <http://www.linuxdoc.org/HOWTO/Adv-Routing-HOWTO.html> Hope this helps, Wayne -- Wayne A. Tucker - [EMAIL PROTECTED] Network Engineer, Donobi Inc. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

