Warty --> Breezy networking differences
Tim Vaughan
talltim at gmail.com
Tue Dec 20 01:11:37 UTC 2005
Hi,
I've been running an OpenVPN tunnel on Warty very successfully for six
months. Having upgraded another box to Breezy, I've tried running
that as the VPN server. However, I've run into some problems.
On Warty, I used the following script to create the bridge and set up
the tunnels:
====================================
/sbin/modprobe tun
/sbin/modprobe bridge
openvpn --mktun --dev tap0
openvpn --mktun --dev tap1
openvpn --mktun --dev tap2
ifconfig eth0 down
route del default
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 tap0
brctl addif br0 tap1
brctl addif br0 tap2
ifconfig eth0 0.0.0.0 promisc up
ifconfig tap0 0.0.0.0 promisc up
ifconfig tap1 0.0.0.0 promisc up
ifconfig tap2 0.0.0.0 promisc up
ifconfig br0 192.168.1.35 netmask 255.255.255.0 broadcast 192.168.1.255
=====================================
I tried using the same script on Breezy but it results in the machine
being unable to ping anything outside of the network (i.e. no gateway
is set and I get "Network is unreachable" messages when trying to
ping, for example, google.com).
What has changed from Warty to Breezy that would cause this error?
output of route -n on Warty machine:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 br0
Output of route -n on Breezy machine:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br0
Any advice appreciated!
Tim
More information about the ubuntu-users
mailing list