Skip to main content

Thread: Share Internet from USB dongle, still access the home network


hello people,

tried deal problem myself quite while , failed, nothing helped, here help.

need share internet wimax dongle , still able access home network same computer.
here scheme how right now.



red line on different sub-net.

use lubuntu 12.04
did was:
1. automatically connected eth0
2. shared connection trough eth1
3. connected eth1 router internet socket
4. connected router lan eth2

thing configuration works while , crashes.
of computers connected router works fine , can access
internet until connect cable router lan main computer eth2 (to acess home network).
sometimes, while can access internet , home network too.
after time none of computers nor router can access internet.

in opinion need bridge eth0 , eth1. , make main computer access internet eth2. tried using brctl, failed. maybe missing steps.

code:
~$ ifconfig  eth0      link encap:ethernet  hwaddr 00:1e:42:02:a8:c8              inet addr:192.168.0.8  bcast:192.168.0.255  mask:255.255.255.0            inet6 addr: fe80::21e:42ff:fe02:a8c8/64 scope:link            broadcast running multicast  mtu:1500  metric:1            rx packets:136440 errors:0 dropped:0 overruns:0 frame:0            tx packets:120873 errors:0 dropped:0 overruns:0 carrier:0            collisions:0 txqueuelen:1000             rx bytes:112833676 (112.8 mb)  tx bytes:11318725 (11.3 mb)    eth2      link encap:ethernet  hwaddr 00:0c:6e:96:ee:db              inet addr:192.168.1.80  bcast:192.168.1.255  mask:255.255.255.0            inet6 addr: fe80::20c:6eff:fe96:eedb/64 scope:link            broadcast running multicast  mtu:1500  metric:1            rx packets:0 errors:0 dropped:0 overruns:0 frame:0            tx packets:1341 errors:0 dropped:0 overruns:0 carrier:0            collisions:0 txqueuelen:1000             rx bytes:0 (0.0 b)  tx bytes:241311 (241.3 kb)            interrupt:23 base address:0xc000     eth1      link encap:ethernet  hwaddr 00:14:78:7b:fc:38              inet addr:10.42.0.1  bcast:10.42.0.255  mask:255.255.255.0            inet6 addr: fe80::214:78ff:fe7b:fc38/64 scope:link            broadcast running multicast  mtu:1500  metric:1            rx packets:0 errors:0 dropped:0 overruns:0 frame:0            tx packets:98 errors:0 dropped:0 overruns:0 carrier:0            collisions:0 txqueuelen:1000             rx bytes:0 (0.0 b)  tx bytes:19130 (19.1 kb)            interrupt:18 base address:0xd000     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:103376 errors:0 dropped:0 overruns:0 frame:0            tx packets:103376 errors:0 dropped:0 overruns:0 carrier:0            collisions:0 txqueuelen:0             rx bytes:16875707 (16.8 mb)  tx bytes:16875707 (16.8 mb)

glad if me.

edit:

after 5 days found solution here

had change ip addresses.

looked @ connection properties when connected directly wimax usb dongle,
, were:

ip address: 192.168.0.8
gateway: 192.168.0.1
network mask: 255.255.255.0
broadcast: 192.168.0.252

, accordingly changed bridge properties following:

(this /etc/network/interfaces)

code:
auto lo  iface lo inet loopback    auto br0   iface br0 inet static  address 192.168.0.8  netmask 255.255.255.0  network 192.168.0.8  broadcast 192.168.0.252  gateway 192.168.0.1  bridge_ports eth0 eth1
now when restart computer in network manager cards eth0 , eth1
being displayed unusable, , trough eth2 can connect router using static or dhcp.

internet works on router , computer
other computers connected router, displayed on scheme above.

hope in future. :7

kindly,

younio

bump


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [SOLVED] Share Internet from USB dongle, still access the home network


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues