* [LARTC] iproute problem
@ 2006-01-12 12:01 Alexandre
2006-01-12 14:48 ` Jody Shumaker
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre @ 2006-01-12 12:01 UTC (permalink / raw)
To: lartc
Hello,
I'm on Debian Sarge, and try actually to setup iproute this way :
- local network 1: 192.168.12.0/24
- local network 2: 172.20.0.0/16
- one router on both network : 192.168.12.50 & 172.20.201.50
- one router to internet (SLIS) : 172.20.1.1
I want from my 1st local network to access internet...
here are my lines... (taken from The LARTC Howto)
ip route add 172.20.0.0/16 dev ra0 src 172.20.201.50 table Project
ip route add default via 172.20.1.1 table Project
ip route add 172.20.0.0/16 dev ra0 src 172.20.201.50
ip route add default via 172.20.1.1
ip rule add from 172.20.201.50 table Project
ip route add 192.168.12.0/24 dev eth0 table Project
ip route add 127.0.0.0/8 dev lo table Project
after that :
# ip route show
192.168.12.0/24 dev eth0 proto kernel scope link src 192.168.12.50
172.20.0.0/16 dev ra0 proto kernel scope link src 172.20.201.50
default via 172.20.1.1 dev ra0
and if I try from local network 1:
$ ping 172.20.201.50
it works, I can even access with ssh on
but:
$ ping 172.20.1.1
doesn't work!
what's the problem?
Any suggestion will be appreciated ;-)
thanks by advance,
Alexandre
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [LARTC] iproute problem
2006-01-12 12:01 [LARTC] iproute problem Alexandre
@ 2006-01-12 14:48 ` Jody Shumaker
0 siblings, 0 replies; 2+ messages in thread
From: Jody Shumaker @ 2006-01-12 14:48 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 1662 bytes --]
Are you sure 172.20.1.1 doesn't block pings? Is there anything else wrong
with the setup besides the pings not working? It's not that uncommon for a
server to not respond to ping.
- Jody
On 1/12/06, Alexandre <alex.hocquel_NOSPAM_@free.fr> wrote:
>
> Hello,
>
> I'm on Debian Sarge, and try actually to setup iproute this way :
> - local network 1: 192.168.12.0/24
> - local network 2: 172.20.0.0/16
> - one router on both network : 192.168.12.50 & 172.20.201.50
> - one router to internet (SLIS) : 172.20.1.1
>
> I want from my 1st local network to access internet...
>
> here are my lines... (taken from The LARTC Howto)
>
> ip route add 172.20.0.0/16 dev ra0 src 172.20.201.50 table Project
> ip route add default via 172.20.1.1 table Project
> ip route add 172.20.0.0/16 dev ra0 src 172.20.201.50
> ip route add default via 172.20.1.1
> ip rule add from 172.20.201.50 table Project
> ip route add 192.168.12.0/24 dev eth0 table Project
> ip route add 127.0.0.0/8 dev lo table Project
>
> after that :
>
> # ip route show
> 192.168.12.0/24 dev eth0 proto kernel scope link src 192.168.12.50
> 172.20.0.0/16 dev ra0 proto kernel scope link src 172.20.201.50
> default via 172.20.1.1 dev ra0
>
> and if I try from local network 1:
> $ ping 172.20.201.50
> it works, I can even access with ssh on
> but:
> $ ping 172.20.1.1
> doesn't work!
>
> what's the problem?
>
> Any suggestion will be appreciated ;-)
>
> thanks by advance,
>
> Alexandre
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
[-- Attachment #1.2: Type: text/html, Size: 2907 bytes --]
[-- Attachment #2: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-01-12 14:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-12 12:01 [LARTC] iproute problem Alexandre
2006-01-12 14:48 ` Jody Shumaker
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.