All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] How to manage routing with two NIC on the same network
@ 2001-07-04  6:27 Franck BALAZOT
  0 siblings, 0 replies; only message in thread
From: Franck BALAZOT @ 2001-07-04  6:27 UTC (permalink / raw)
  To: lartc

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-04  6:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-04  6:27 [LARTC] How to manage routing with two NIC on the same network Franck BALAZOT

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.