From: "Josh Sides" <jzsides@stoneeagle.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] @home cable modem
Date: Fri, 06 Apr 2001 14:12:31 +0000 [thread overview]
Message-ID: <marc-lartc-98656667520812@msgid-missing> (raw)
In-Reply-To: <marc-lartc-98630489030178@msgid-missing>
I would like to put 3 different ip addresses that are in three different
subnets on the same interface. The interface is directly connected to a
cable modem. These ip addresses are assigned to me by my ISP. How do I set
up the routing on my linux machine so that all three addresses are reachable
from the internet.
Is it possible to setup multiple default routes?
Thanks
Josh
-----Original Message-----
From: lartc-admin@mailman.ds9a.nl [mailto:lartc-admin@mailman.ds9a.nl]On
Behalf Of Arthur van Leeuwen
Sent: Tuesday, April 03, 2001 9:38 AM
To: Josh Sides
Cc: LARTC@mailman.ds9a.nl
Subject: RE: [LARTC] @home cable modem
On Tue, 3 Apr 2001, Josh Sides wrote:
> My wording is bad. I want to assign all ip's to one ethernet card which
> will be directly connected to the cable modem. I'm trying to set up a
> situation so that I can play with iptables and nat. I want to get rid of
> the masquerading.
Ah. ip addr add <ipaddr1> dev eth0 && ip addr add <ipaddr2> dev eth0 && ip \
addr add <ipaddr3> dev eth0
And then you set up routes and you select which uplink IP address to use
as default. Magic needs to happen if you want to use all three.
Doei, Arthur.
--
/\ / | LARTC@mailman.ds9a.nl | Work like you don't need the
money
/__\ / | A friend is someone with whom | Love like you have never been
hurt
/ \/__ | you can dare to be yourself | Dance like there's nobody
watching
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO:
http://ds9a.nl/2.4Routing/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/2.4Routing/
next prev parent reply other threads:[~2001-04-06 14:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-03 13:28 [LARTC] @home cable modem Josh Sides
2001-04-03 13:38 ` Arthur van Leeuwen
2001-04-03 14:05 ` Josh Sides
2001-04-03 14:25 ` Josh Sides
2001-04-03 14:38 ` Arthur van Leeuwen
2001-04-03 14:40 ` Josh Sides
2001-04-06 14:12 ` Josh Sides [this message]
2001-04-06 14:53 ` Arthur van Leeuwen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-98656667520812@msgid-missing \
--to=jzsides@stoneeagle.com \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox