Ok: My office network is: 172.16.16.0/24 and his IP is: 172.16.16.1. My web network is: 172.16.8.0/24 and his IP is: 172.16.8.1 My service network is: 172.16.4.0/24 and his IP is: 172.16.4.1 My public network is:213.250.143.240/28 and his IP is: 213.250.143.242.
The public router is 213.250.143.241 (and only works with the range 213.250.143.240/28) The office router is 172.16.16.254 (and only works with the range 172.16.16.0/24) The static default route is 172.16.16.254 This is my route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 213.250.143.240 0.0.0.0 255.255.255.240 U 0 0 0 eth0 172.16.4.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 172.16.16.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 172.16.8.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2 0.0.0.0 172.16.16.254 0.0.0.0 UG 0 0 0 eth3 And my dinamic route to using the public network is: ip rule add from 213.250.143.242 table publica ip route add from default via 213.250.143.241 dev eth0 table publica ip route flush cache And the problem is when I try to use 213.250.143.242 in my internals networks doesnt run because the information goes by 213.250.143.241 and not in the normal routes. Can you help me, please? ----- Original Message ----- From: "Sebastiaan" <[EMAIL PROTECTED]> To: "聲gel Carrasco" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, October 24, 2002 9:39 AM Subject: Re: NETWORK ROUTES Hi, please turn on line wrap at 72 characters. Thanks. On Thu, 24 Oct 2002, [iso-8859-1] 聲gel Carrasco wrote: > Hi all, > > I have a debian server with 4 network cards: The first card is used to > connect to public network and this network connects with a big router. > The Second, third and fourth cards are used by other networks. The first > card used a dinamic route with the big router. The other cards used a > static route with a little router. All runs good but my problem is when > I try to use the IP of my first card in my internals networks doesn't > work because, all information doesn't go by internals networks, it goes > by the big network. Could you help me, please? > > Could you give us more specific information, like the address ranges, ifconifg and route -n? Greetz, Sebastiaan > Thank you very much, > > > > 聲gel > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]