Re: Route bad address

2013-05-27 Thread David Walker
Something like: # cat hostname.pppoe0 pppoedev vr0 authproto chap authname 'u...@on.net' authkey 'pass' up inet 0.0.0.0 255.255.255.255 dest 0.0.0.1 !/sbin/route -v add -inet default -ifp pppoe0 0.0.0.1 See: man -s 4 pppoe http://www.openbsd.org/cgi-bin/man.cgi?query=pppoesektion=4

Re: Route Bad address or network unreacheable

2013-05-26 Thread Alexey E. Suslikov
Cesar Calvo admin at urulab.com writes: All packets from net1 ip are delivery via 190.64.x.x gateway. But on openbsd, route syntax is different. I have hostname.em0 with: inet 200.124.200.125 255.255.255.248 none !route add 190.64.x.x -iface em0 Above route add syntax seems strange to me.

Re: Route Bad address or network unreacheable

2013-05-26 Thread Stuart Henderson
On 2013-05-25, Cesar Calvo ad...@urulab.com wrote: Hi people. I have a linux server a try to migrate to openbsd 5.3/amd64. I am totatly new in this amazing OS. In linux I have: - ip addr 200.124.200.125/32 dev net1 - ip route add 190.64.x.x dev net1 - ip route add default via

Re: Route Bad address or network unreacheable

2013-05-26 Thread Cesar Calvo
Hi, thanks for sharing http://marc.info/?l=openbsd-miscm=134643340822363 hostname.if: !route add -llinfo -iface -net 10.255.0.0/16 10.255.255.1 -ifp nfe0 inet 1.2.3.4 255.255.255.255 inet 1.2.4.3 255.255.255.255 ... mygate: 10.255.255.1 I change all inet values for sanbox testing

Re: Route Bad address or network unreacheable

2013-05-26 Thread Stuart Henderson
On 2013/05/26 12:52, Cesar Calvo wrote: Hi, thanks for sharing http://marc.info/?l=openbsd-miscm=134643340822363 hostname.if: !route add -llinfo -iface -net 10.255.0.0/16 10.255.255.1 -ifp nfe0 inet 1.2.3.4 255.255.255.255 inet 1.2.4.3 255.255.255.255 ... mygate:

Route bad address

2013-05-25 Thread Cesar Calvo
Hi people. I have a linux server a try to migrate to openbsd 5.3/amd64. I am totatly new in this amazing OS. In linux I have: ifconfig net1 200.124.200.125/29 route add -net 190.64.x.x dev net1 route add gateway 190.64.x.x dev net1 All packets from net1 ip are delivery via 190.64.x.x gateway.

Route bad address

2013-05-25 Thread Cesar Calvo
Hi people. I have a linux server a try to migrate to openbsd 5.3/amd64. I am totatly new in this amazing OS. In linux I have: - ip addr 200.124.200.125/32 dev net1 - ip route add 190.64.x.x dev net1 - ip route add default via 190.64.x.x All packets from net1 ip are delivery via

Route Bad address or network unreacheable

2013-05-25 Thread Cesar Calvo
Hi people. I have a linux server a try to migrate to openbsd 5.3/amd64. I am totatly new in this amazing OS. In linux I have: - ip addr 200.124.200.125/32 dev net1 - ip route add 190.64.x.x dev net1 - ip route add default via 190.64.x.x All packets from net1 ip are delivery via