[SLE] SIOCADDRT: Network is unreachable
I have a 9.3 routing box with three FastEthernet interfaces (one of
them has IP number 192.168.250.250 and belongs to the 192.168.250.0/24
network.) I can ping other hosts in this network, for instance,
192.168.250.20. I’m trying to set up a static route so that traffic to
the 10.20.0.0/16 network goes to the 192.168.250.20 gateway.
The actual command I’m using is
/sbin/route add -net 10.20.0.0/16 gw 192.168.250.20
but I get “SIOCADDRT: Network is unreachable” back. I do’t think
192.168.250.20 is unreachable since it sits on one of the networks my
box is; and I can ping it perfectly.
What am I doing wrong?
Just for kicks, I put in another hard drive and installed OpenBSD and
sure enough it lets me add the route and, well, route traffic.
best regards,
Carlos.
=== ifconfig (with non-essential data obscured) ===
eth0 Link encap:Ethernet HWaddr 00:50:BA:AF:5F:99
inet addr:200.55.X.Y Bcast:200.55.X.W Mask:255.255.255.248
inet6 addr: fe80::250:Z/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1788970 errors:0 dropped:0 overruns:0 frame:0
TX packets:2442638 errors:0 dropped:0 overruns:0 carrier:0
collisions:90 txqueuelen:1000
RX bytes:207876844 (198.2 Mb) TX bytes:2639572171 (2517.2 Mb)
Interrupt:11 Base address:0xc00
eth1 Link encap:Ethernet HWaddr 00:40:F4:B1:6D:97
inet addr:200.55.U.Q Bcast:200.55.U.R Mask:255.255.255.248
inet6 addr: fe80::240:V/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7644667 errors:0 dropped:0 overruns:0 frame:0
TX packets:5982953 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:209948614 (200.2 Mb) TX bytes:1295706758 (1235.6 Mb)
Interrupt:11 Base address:0xe800
eth2 Link encap:Ethernet HWaddr 00:11:11:80:EF:87
inet addr:192.168.250.250 Bcast:192.168.250.255 Mask:255.255.255.0
inet6 addr: fe80::211:11ff:fe80:ef87/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:159400 errors:0 dropped:0 overruns:0 frame:0
TX packets:77692 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27721502 (26.4 Mb) TX bytes:21462365 (20.4 Mb)
=== route (with non-essential data obscured) ===
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.213.160 200.55.X.O 255.255.255.252 UG 0 0 0 eth0
192.168.210.252 200.55.X.O 255.255.255.252 UG 0 0 0 eth0
192.168.212.4 200.55.X.O 255.255.255.252 UG 0 0 0 eth0
192.168.212.0 200.55.X.O 255.255.255.252 UG 0 0 0 eth0
200.55.X.N * 255.255.255.248 U 0 0 0 eth0
192.168.86.40 200.55.X.O 255.255.255.248 UG 0 0 0 eth0
192.168.46.0 200.55.X.O 255.255.255.248 UG 0 0 0 eth0
192.168.46.8 200.55.X.O 255.255.255.248 UG 0 0 0 eth0
200.55.U.M * 255.255.255.248 U 0 0 0 eth1
192.168.250.0 192.168.250.1 255.255.255.0 UG 0 0 0 eth2
link-local * 255.255.0.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
default 200.55.U.L 0.0.0.0 UG 0 0 0 eth1
—
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-***@suse.com
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-***@suse.com
Hi,I have a 9.3 routing box with three FastEthernet interfaces (one ofthem has IP number 192.168.250.250 and belongs to the 192.168.250.0/24network.) I can ping other hosts in this network, for instance,192.168.250.20. I’m trying to set up a static route so that traffic tothe 10.20.0.0/16 network goes to the 192.168.250.20 gateway.The actual command I’m using is/sbin/route add -net 10.20.0.0/16 gw 192.168.250.20but I get “SIOCADDRT: Network is unreachable” back. I do’t think192.168.250.20 is unreachable since it sits on one of the networks mybox is; and I can ping it perfectly.What am I doing wrong?Just for kicks, I put in another hard drive and installed OpenBSD andsure enough it lets me add the route and, well, route traffic.best regards,Carlos.=== ifconfig (with non-essential data obscured) ===eth0 Link encap:Ethernet HWaddr 00:50:BA:AF:5F:99inet addr:200.55.X.Y Bcast:200.55.X.W Mask:255.255.255.248inet6 addr: fe80::250:Z/64 Scope:LinkUP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1RX packets:1788970 errors:0 dropped:0 overruns:0 frame:0TX packets:2442638 errors:0 dropped:0 overruns:0 carrier:0collisions:90 txqueuelen:1000RX bytes:207876844 (198.2 Mb) TX bytes:2639572171 (2517.2 Mb)Interrupt:11 Base address:0xc00eth1 Link encap:Ethernet HWaddr 00:40:F4:B1:6D:97inet addr:200.55.U.Q Bcast:200.55.U.R Mask:255.255.255.248inet6 addr: fe80::240:V/64 Scope:LinkUP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1RX packets:7644667 errors:0 dropped:0 overruns:0 frame:0TX packets:5982953 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:209948614 (200.2 Mb) TX bytes:1295706758 (1235.6 Mb)Interrupt:11 Base address:0xe800eth2 Link encap:Ethernet HWaddr 00:11:11:80:EF:87inet addr:192.168.250.250 Bcast:192.168.250.255 Mask:255.255.255.0inet6 addr: fe80::211:11ff:fe80:ef87/64 Scope:LinkUP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1RX packets:159400 errors:0 dropped:0 overruns:0 frame:0TX packets:77692 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:27721502 (26.4 Mb) TX bytes:21462365 (20.4 Mb)=== route (with non-essential data obscured) ===Destination Gateway Genmask Flags Metric Ref Use Iface192.168.213.160 200.55.X.O 255.255.255.252 UG 0 0 0 eth0192.168.210.252 200.55.X.O 255.255.255.252 UG 0 0 0 eth0192.168.212.4 200.55.X.O 255.255.255.252 UG 0 0 0 eth0192.168.212.0 200.55.X.O 255.255.255.252 UG 0 0 0 eth0200.55.X.N * 255.255.255.248 U 0 0 0 eth0192.168.86.40 200.55.X.O 255.255.255.248 UG 0 0 0 eth0192.168.46.0 200.55.X.O 255.255.255.248 UG 0 0 0 eth0192.168.46.8 200.55.X.O 255.255.255.248 UG 0 0 0 eth0200.55.U.M * 255.255.255.248 U 0 0 0 eth1192.168.250.0 192.168.250.1 255.255.255.0 UG 0 0 0 eth2link-local * 255.255.0.0 U 0 0 0 eth0loopback * 255.0.0.0 U 0 0 0 lodefault 200.55.U.L 0.0.0.0 UG 0 0 0 eth1


















![Toni Kroos là ai? [ sự thật về tiểu sử đầy đủ Toni Kroos ]](https://evbn.org/wp-content/uploads/New-Project-6635-1671934592.jpg)


