Re: [LARTC] Tunnel problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guy Van Den Bergh wrote:
> 
> Have you brought the tunnel device up?
> try: ip link set dev <tunneldevice> up
> 
[snip]

this is the _exact_ set of commands I used (comments in parens):

ip tunnel add netmain mode gre remote 209.127.xxx.xxx local
200.46.xxx.xxx ttl 225 (note, I actually put ip numbers, not xxx in the
command)

ip link set netmain up  (and it shows as up with ifconfig, ip tunnel
show, etc. -- if I set it down, the error I get has to do with the
device or route not up)

ip addr add 10.0.3.0 dev netmain

ip route add 0/0 dev netmain  (and here I get, depending on what else
I've done, a route that doesn't work, or an error, usually network not
reachable)

Final line in the route -n command looks like:
0.0.0.0   0.0.0.0   0.0.0.0     UG   1   0    0  netmain

note the second 0.0.0.0 -- that's wrong.  And I can't ping, traceroute,
or otherwise get anywhere.

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
		-- Nemesis Racing Team motto



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux