[SOLVED] what is modifying route

[SOLVED] what is modifying route

Postby junk_no_spam » Sep 30th, '12, 16:36

I have a three node LAN. I power up node 1 and route -n looks normal.
As I bring up other nodes, their second nic routing shows up as a gateway.
Example:
Code: Select all
$ route -n
Kernel IP routing table
Destination     Gateway             Genmask         Flags Metric Ref    Use Iface
0.0.0.0             192.168.1.1       0.0.0.0               UG    0      0        0 eth0
172.16.1.1       192.168.1.200   255.255.255.0   UG    1      0        0 eth0
192.168.1.0     192.168.1.132   255.255.255.0   UG    0      0        0 eth0
192.168.1.0     0.0.0.0               255.255.255.0   U       0      0        0 eth0


What program is adding the extra routes and how can I stop it?
The answer: routed
systemctl stop routed.service
systemctl disable routed.service

Reboot result:
Code: Select all
$ route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.1.1     0.0.0.0         UG    10     0        0 eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     10     0        0 eth0
junk_no_spam
 
Posts: 32
Joined: Jan 26th, '12, 19:30

Return to Networking

Who is online

Users browsing this forum: No registered users and 1 guest