Re: Routing weird IPs

2011-07-28 Thread Paulo Santos
Paulo Santos wrote: François TOURDE wrote: Le 15182ième jour après Epoch, Paulo Santos écrivait: Plus this routes: 10.0.0.0 /255.0.0.0 - 10.120.43.158 62.48.163.64/255.224.0.0 - 10.200.34.158 192.168.168.0/255.255.255.192 - 10.120.43.158 If your syntax is "ip/mask - gateway", then the second

Re: Routing weird IPs

2011-07-28 Thread François TOURDE
Le 15183ième jour après Epoch, Paulo Santos écrivait: >> You can't have 2 gateway lines, because gateway is equiv to "route >> default", and you can't have 2 default destinations. > > Ok. I'll correct that in the end of the day, since it's in production I > can't restart the network. You don't ne

Re: Routing weird IPs

2011-07-28 Thread Paulo Santos
Hello, First of all, than you everyone for the replies. François TOURDE wrote: Le 15182ième jour après Epoch, Paulo Santos écrivait: Plus this routes: 10.0.0.0 /255.0.0.0 - 10.120.43.158 62.48.163.64/255.224.0.0 - 10.200.34.158 192.168.168.0/255.255.255.192 - 10.120.43.158 If your syn

Re: Routing weird IPs

2011-07-27 Thread Ivan Shmakov
> Paulo Santos writes: > Ivan Shmakov wrote: > Paulo Santos writes: >>> 192.168.168.0/255.255.255.192 - 10.120.43.158 >> The last one should probably be as follows instead: >> 192.168.160.0/255.255.255.192 - 10.120.43.158 > Why is that? > I tried it, though, but I get the sa

Re: Routing weird IPs

2011-07-27 Thread François TOURDE
Le 15182ième jour après Epoch, Paulo Santos écrivait: > Hello list, > > We have an Asterisk PBX running on Debian with 1 NIC. We're adding a > SIP trunk and, for that, the ISP/ITSP installed a router/gateway (I > think that's what it is). > > They've told me I needed to have configuration like thi

Re: Routing weird IPs

2011-07-27 Thread Paulo Santos
Ivan Shmakov wrote: Paulo Santos writes: >> ... 192.168.168.0/255.255.255.192 - 10.120.43.158 The last one should probably be as follows instead: 192.168.160.0/255.255.255.192 - 10.120.43.158 Why is that? I tried it, though, but I get the same behaviour. Best regards, Paulo

Re: Routing weird IPs

2011-07-27 Thread Ivan Shmakov
> Paulo Santos writes: […] > Plus this routes: > 10.0.0.0 /255.0.0.0 - 10.120.43.158 > 62.48.163.64/255.224.0.0 - 10.200.34.158 > 192.168.168.0/255.255.255.192 - 10.120.43.158 The last one should probably be as follows instead: 192.168.160.0/255.255.255.192 - 10.120.43.158