Link to home
Start Free TrialLog in
Avatar of cranium2003
cranium2003

asked on

linux routing

hello,
      I made linux server machine as router by
echo 1 > /proc/sys/net/ipv4/ip_forward.
     I want to know does my linux server installation will send routing update messages to other linux server machine made router?
     I want to know that which services send routing update messages on linux machines?
     how they sent to other linux router?
     Are they using UDP protocol to send RIP packets?
     I am using Redhat 9.
ASKER CERTIFIED SOLUTION
Avatar of bstrauss3
bstrauss3

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cranium2003
cranium2003

ASKER

So whats require to make linux mahine as function like Routers in Internet? I thought that
echo 1 > /proc/sys/net/ipv4/ip_forward
make linux machine as Router but i think its not Router but Packet Forwarder is that right?
So theres no way to make linux machine as Router?
       I want to have environment that if i have 2 machines then they should use RIP. I want that type of simulation to study Routing in Internet. How to do that?
Enabling ip_forward tells Linux to do just that - forward packets according to the interfaces it knows about.

So if eth0 is 192.168.0.1/24 and eth1 is 10.0.0.1/8 any packet on eth0 for 10.x.x.x gets forwarded out eth1.  That's really all a router does, except it knows more about the networks on each side so it knows it can forward more packets.  That's why you run a routing protocol like RIP or BGP or .... - to learn about these networks.


-----Burton
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial