Default Gateway In Route Table

Discussion in 'Server Operation' started by Ridd1ck, Nov 18, 2011.

  1. Ridd1ck

    Ridd1ck New Member

    Hello,
    My output of route -n command is:

    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth1
    x.x.x.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    x.x.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
    x.x.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1


    My default gateway is 192.168.1.1
    This entry, sjould be in the last line of route -n result?
    How can i change this?


    Thanks.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Which distribution do you use?
     

Share This Page