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 this: [... some config details ...]
Please, re-check your mail, because of probably lot of typo errors... > 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 line use a gateway not in your ip range (10.200... vs 10.120...), or this is a typo error. > I also need the PBX be in the our network as well, 192.168.0.200. For > that I created an alias and now I have my interfaces like this: > > auto eth0 > iface eth0 inet static > address 192.168.0.200 > netmask 255.255.255.0 > network 192.168.0.0 > broadcast 192.168.0.255 > gateway 192.168.0.254 > > auto eth0:0 > iface eth0:0 inet static > address 10.120.43.153 > netmask 255.255.255.248 > gateway 10.120.43.158 You can't have 2 gateway lines, because gateway is equiv to "route default", and you can't have 2 default destinations. > But when I try any of the other 2, I get: > > route: bogus netmask 255.225.255.192 > Usage: ... Look at the "225" instead of "255" in the second byte of the netmask. Is it a typo error? Please use cut and paste of your commands and the results in your next mail, to avoid errors and to permit a good diagnosis. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/871uxb8k98....@fermat.tourde.home