No internet connectivity for local bridge with TAP adapter
Posted: Sun Jul 20, 2014 12:42 pm
I currently have a VPS at DigitalOcean and attempted to create a local bridge between a tap adapter with the virtual hub. I've enabled the necessary configurations, such as the iptables NAT and kernel ip forwarding, but no internet. When I check to see what is going on in the tap adapter with wireshark, it seems that packets from the virtual hub never reached the tap adapter, hence no forwarding or any internet connectivity. It's as if the virtual hub has swallowed the packets.
So what is the problem???
/////////my ifconfig/////////////
eth0 Link encap:Ethernet HWaddr 04:01:20:6a:fa:01
inet addr:XXX.XXX.XXX.XXX Bcast:128.199.255.255 Mask:255.255.192.0
inet6 addr: fe80::601:20ff:fe6a:fa01/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:638079 errors:0 dropped:0 overruns:0 frame:0
TX packets:923180 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:561702355 (561.7 MB) TX bytes:707333046 (707.3 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8012 errors:0 dropped:0 overruns:0 frame:0
TX packets:8012 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2637417 (2.6 MB) TX bytes:2637417 (2.6 MB)
tap_soft Link encap:Ethernet HWaddr 00:ac:af:83:9e:4f
inet6 addr: fe80::2ac:afff:fe83:9e4f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2062 errors:0 dropped:0 overruns:0 frame:0
TX packets:773 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:243181 (243.1 KB) TX bytes:63990 (63.9 KB)
/////////Softether server version//////
v4.08-9449-rtm-2014.06.08-linux-x86-32bit
There is no NAT or any firewall. The vpncmd test says everything pass. The vpn configs are all defaults.
So what is the problem???
/////////my ifconfig/////////////
eth0 Link encap:Ethernet HWaddr 04:01:20:6a:fa:01
inet addr:XXX.XXX.XXX.XXX Bcast:128.199.255.255 Mask:255.255.192.0
inet6 addr: fe80::601:20ff:fe6a:fa01/64 Scope:Link
UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1
RX packets:638079 errors:0 dropped:0 overruns:0 frame:0
TX packets:923180 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:561702355 (561.7 MB) TX bytes:707333046 (707.3 MB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:8012 errors:0 dropped:0 overruns:0 frame:0
TX packets:8012 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2637417 (2.6 MB) TX bytes:2637417 (2.6 MB)
tap_soft Link encap:Ethernet HWaddr 00:ac:af:83:9e:4f
inet6 addr: fe80::2ac:afff:fe83:9e4f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2062 errors:0 dropped:0 overruns:0 frame:0
TX packets:773 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:500
RX bytes:243181 (243.1 KB) TX bytes:63990 (63.9 KB)
/////////Softether server version//////
v4.08-9449-rtm-2014.06.08-linux-x86-32bit
There is no NAT or any firewall. The vpncmd test says everything pass. The vpn configs are all defaults.