From: Franck BALAZOT <fbalazot@aeta.fr>
To: lartc@vger.kernel.org
Subject: [LARTC] How to manage routing with two NIC on the same network
Date: Wed, 04 Jul 2001 06:27:51 +0000 [thread overview]
Message-ID: <marc-lartc-99452557530385@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 2091 bytes --]
Hi all,
Here is my problem. I need to use a linux box to manage the internet
bandwidth. The problem is that I need to use two public IP address on
the 2 network interface of my linux router :
+--------------+ +-----------+
+----------------+
Internet ----| Cisco router |--------| linux box |--------| firewall +
NAT |------ LAN (192.168.0.0)
+--------------+ +-----------+
+----------------+
eth1 eth0
195.115.96.a 195.115.96.b 195.115.96.c
195.115.96.d
the Cisco router, the linux and the firewall have public IP address on
the same network.
I need some help to configure the routing table of the linux box,
because in this configuration
the packet at destination of 195.115.96.0 are routed on eth0 and also on
eth1 and I can't delete these routes with the route utility.
What I want is to route all the packet at destination of 195.115.96.d by
eth0 and create a default route by eth1 :
Destination Gateway Genmask Flags Metric Ref Use
Iface
195.115.96.d * 255.255.255.240 UGH 0 0 0
eth0
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default 195.115.96.a 0.0.0.0 UG 0 0 0
eth1
but what I have is (and it doesn't work) :
Destination Gateway Genmask Flags Metric Ref Use
Iface
195.115.96.d * 255.255.255.240 UGH 0 0 0
eth0
195.115.96.0 * 255.255.255.240 U 0 0 0
eth0
195.115.96.0 * 255.255.255.240 U 0 0 0
eth1
127.0.0.0 * 255.0.0.0 U 0 0 0
lo
default 195.115.96.a 0.0.0.0 UG 0 0 0
eth1
Thanks for help !
------------------------------------------------
Franck BALAZOT (fbalazot@aeta.fr)
AETA.COM
361, Avenue du Général De Gaulle
92140 CLAMART
FRANCE
Tél:01.41.36.12.93
------------------------------------------------
[-- Attachment #2: Type: text/html, Size: 4813 bytes --]
reply other threads:[~2001-07-04 6:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-99452557530385@msgid-missing \
--to=fbalazot@aeta.fr \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.