Skip to main content

Thread: Bridge Network issues


i have server eth0 (7 port lan switch), eth1 wan , wlan0 wireless pcmcia.
have wlan0 in master mode have work access point. have router plugged in eth1 wan. server has full network , internet access. if log in access point (wlan0) network, no internet access. did experiment weekend , found if plug router in (eth0) lan switch server gets full network , internet access, access point still same. if plug router in wan said server works 100% network, no internet in lan switch. feel issue id either ip forwarding or bridging. server acting right or give print out of ifconfig, iwconfig , network/interface file.

there try or else needed issue?

oh iptables fine too. same , out them running (i used iptables ubuntu gave on bridge network page).

ifconfig
code:
br0       link encap:ethernet  hwaddr 00:09:5b:3b:1f:d5             inet addr:192.168.2.2  bcast:192.168.2.255  mask:255.255.255.0           inet6 addr: fe80::210:c6ff:fe18:6de0/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:166 errors:0 dropped:0 overruns:0 frame:0           tx packets:157 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:53161 (53.1 kb)  tx bytes:57312 (57.3 kb)  eth0      link encap:ethernet  hwaddr 00:10:c6:18:6d:e0             inet6 addr: fe80::210:c6ff:fe18:6de0/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:0 errors:0 dropped:0 overruns:0 frame:0           tx packets:115 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:0 (0.0 b)  tx bytes:26611 (26.6 kb)           interrupt:10 base address:0xcc00   eth1      link encap:ethernet  hwaddr 00:10:c6:18:7b:e4             inet6 addr: fe80::210:c6ff:fe18:7be4/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:175 errors:0 dropped:0 overruns:0 frame:0           tx packets:157 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:57232 (57.2 kb)  tx bytes:57352 (57.3 kb)  lo        link encap:local loopback             inet addr:127.0.0.1  mask:255.0.0.0           inet6 addr: ::1/128 scope:host           loopback running  mtu:16436  metric:1           rx packets:133 errors:0 dropped:0 overruns:0 frame:0           tx packets:133 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:11012 (11.0 kb)  tx bytes:11012 (11.0 kb)  wifi0     link encap:unspec  hwaddr 00-09-5b-3b-1f-d5-30-30-00-00-00-00-00-00-00-00             broadcast running multicast  mtu:1500  metric:1           rx packets:1564 errors:0 dropped:0 overruns:0 frame:0           tx packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:0 (0.0 b)  tx bytes:0 (0.0 b)           interrupt:9 base address:0x100   wlan0     link encap:ethernet  hwaddr 00:09:5b:3b:1f:d5             inet6 addr: fe80::209:5bff:fe3b:1fd5/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:0 errors:0 dropped:0 overruns:0 frame:0           tx packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:0 (0.0 b)  tx bytes:0 (0.0 b)           interrupt:9 base address:0x100

iwconfig
code:
lo        no wireless extensions.  eth1      no wireless extensions.  eth0      no wireless extensions.  br0       no wireless extensions.  wifi0     ieee 802.11b  essid:"**********"             mode:master  frequency:2.427 ghz  access point: 00:09:5b:3b:1f:d5              bit rate:11 mb/s   sensitivity=1/3             retry short limit:8   rts thr:off   fragment thr:off           encryption key:****-****-****-****-****-****-**   security mode:restricted           power management:off            wlan0     ieee 802.11b  essid:"**********"             mode:master  frequency:2.427 ghz  access point: 00:09:5b:3b:1f:d5              bit rate:11 mb/s   sensitivity=1/3             retry short limit:8   rts thr:off   fragment thr:off           encryption key:****-****-****-****-****-****-**   security mode:restricted           power management:off           link quality:0  signal level:0  noise level:0           rx invalid nwid:0  rx invalid crypt:0  rx invalid frag:0           tx excessive retries:0  invalid misc:3   missed beacon:0

interfaces
code:
# loopback network interface 	auto lo 	iface lo inet loopback 	address 127.0.0.1 	netmask 255.0.0.0   # switch (lan) 	auto eth0 	iface eth0 inet manual   # wan 	auto eth1 	iface eth1 inet dhcp   # wireless 	auto wlan0 	iface wlan0 inet manual  	wireless-mode master 	wireless-key ********************** 	wireless-channel 4 	wireless-essid **********   #bridge above 	auto br0 	iface br0 inet static 	bridge_ports eth0 eth1 wlan0 	address 192.168.2.2 	netmask 255.255.255.0 	network 192.168.1.0 	gateway 192.168.2.1 	broadcast 192.168.2.255
iptables
code:
echo -e "\n\nloading simple rc.firewall-iptables version $fwver..\n" depmod=/sbin/depmod modprobe=/sbin/modprobe  extif="eth0" intif="eth1"  echo "   external interface:  $extif" echo "   internal interface:  $intif"  #====================================================================== #== no editing beyond line required initial masq testing ==  echo -en "   loading modules: " echo "  - verifying kernel modules ok" $depmod -a echo "----------------------------------------------------------------------" echo -en "ip_tables, " $modprobe ip_tables echo -en "nf_conntrack, "  $modprobe nf_conntrack echo -en "nf_conntrack_ftp, "  $modprobe nf_conntrack_ftp echo -en "nf_conntrack_irc, "  $modprobe nf_conntrack_irc echo -en "iptable_nat, " $modprobe iptable_nat echo -en "nf_nat_ftp, " $modprobe nf_nat_ftp echo "----------------------------------------------------------------------" echo -e "   done loading modules.\n" echo "   enabling forwarding.." echo "1" > /proc/sys/net/ipv4/ip_forward echo "   enabling dynamicaddr.." echo "1" > /proc/sys/net/ipv4/ip_dynaddr  echo "   clearing existing rules , setting default policy.."  iptables-restore <<-eof *nat -a postrouting -o "$extif" -j masquerade commit *filter :input accept [0:0] :forward drop [0:0] :output accept [0:0] -a forward -i "$extif" -o "$intif" -m conntrack --ctstate established,related -j accept  -a forward -i "$intif" -o "$extif" -j accept -a forward -j log commit eof  echo -e "\nrc.firewall-iptables v$fwver done.\n"
it worked same firewall on , after flushed firewall.

if need more information, please let me know!
thank you!


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [SOLVED] Bridge Network issues


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support