Routing RTNETLINK answers: No such process

Hello,

I have a opensuse Linux server with two nics.
eth0 = internal network with 172.16.1.24
eth1 = external network with ip 172.19.3.2

Internal networks: 172.16.0.0/16, 172.17.0.0/16 and 192.168.0.0/16.
External network: 172.19.3.0/16

The default gateway is 172.19.3.1 on eth1.

IP Forwarding is disable. Only a Proxy Server on this server ist running, so only local access to the external network is required. But all hosts in the several local subnets must reach the server.

My problem is, that the internally networks 172.17.0.0/16 and 192.168.0.0/16 on eth0 I can't reach.

Only the 172.16.0.0/16 network is reachable.

ip route add 172.17.0.0/16 via 172.16.0.1 dev eth0
RTNETLINK answers: No such process
 
ip route add 192.168.200.0/16 via 172.16.0.1 dev eth0
RTNETLINK answers: No such process

eth0

BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='172.16.1.24/16'
MTU='1500'
NAME='82566DM-2 Gigabit Network Connection'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
PREFIXLEN='16'

eth1

BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='172.19.3.2/24'
MTU='1500'
NAME='LNE100TX'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
PREFIXLEN='24'

Please give me hint.

Thank you.

Felix

what's the output of

netstat -nr

Solved:

/etc/sysconfig/network/routes:

172.16.0.1 255.255.255.255 eth0
172.17.0.0 172.16.0.1 255.255.0.0 eth0
172.18.0.0 172.16.0.1 255.255.0.0 eth0
192.168.200.0 172.16.0.1 255.255.255.0 eth0
192.168.0.0 0.0.0.0 255.255.0.0 eth0
192.168.0.0 172.16.0.1 255.255.0.0 -
default 172.19.3.1 - eth1

With these entrys all my networks are reachable in both ways.

Felix

I figured that the problem was one of routing. :slight_smile: