Re: Routing Back in LINUX!! Help Please!!!

From: Llanzlan Klazmon (Klazmon_at_llurdiaxorb.govt)
Date: 08/22/05


Date: 22 Aug 2005 15:21:13 +1200


"Zeckx" <zgrp_zgrp@yahoo.com.br> wrote in news:1124484613.136363.32370
@g44g2000cwa.googlegroups.com:

> Yo Klazmon
>
> Thks for reply, but I already had added this route without success
>
> # ip ro add 0.0.0.0/0 via 1.1.1.1 dev mynet
> RTNETLINK answers: File exists

The 0.0.0.0/0 is the default gateway. The above error is because you
already have a default gateway defined. You can either change your default
gateway to 1.1.1.1 or delete the route for the existing default gatway and
add the route above, (note that the latter is not a permanent change).The
'ip ro' command by itself will list the current routes known to your system
(equivalent to 'sh ip route' on the cisco). It will print the words default
gateway on the line referring to the 0.0.0.0/0 route.

Klazmon.
>
> cya
>
>



Relevant Pages

  • Re: VPN and remote gateway
    ... > It seems you use the wrong route add command. ... > when the VPN connection is established. ... > | using the remote network as my gateway. ...
    (microsoft.public.windows.server.sbs)
  • Re: Persistent Route ignored on W2K when destination network is unavailable
    ... a global setting like the gateway to a particular subnet should be set ... this network access the internet via a NAT firewall (connected to ... via a WAN link. ... route on the Cisco firewall so that any traffic to the internet gets ...
    (microsoft.public.win2000.networking)
  • Re: AIX 1.3 Failures and Fables
    ... DESTINATION GATEWAY FLGS REFCNT USE INTERFACE ... Is my interpretation of the AIX 1.3 #man route correct? ... Manually manipulates the routing tables. ... Is the destination host or network. ...
    (comp.sys.ibm.ps2.hardware)
  • Re: AD-DNS-DHCP
    ... If I do NOT remove the gateway configurationfrom my DHCP ... scope but add route command to my logon script, ...
    (microsoft.public.windows.server.active_directory)
  • Re: AD-DNS-DHCP
    ... Ipconfig will show a second default gateway. ... You could set a metric for the additional gateway, or you could run Route Delete 0.0.0.0 first, ... "Jorge Silva" wrote in message ... If I do NOT remove the gateway configurationfrom my DHCP scope but add route command to my logon script, which one will ultimately prevail, the DHCP gateway configuration or the route add command in the logon script? ...
    (microsoft.public.windows.server.active_directory)