* [Bridge] Queries about Bridging
@ 2008-06-22 14:05 Sibu Thomas Mathew
2008-06-23 13:44 ` Jonathan Thibault
0 siblings, 1 reply; 2+ messages in thread
From: Sibu Thomas Mathew @ 2008-06-22 14:05 UTC (permalink / raw)
To: bridge
[-- Attachment #1: Type: text/plain, Size: 1119 bytes --]
Sir,
I shared internet on a LAN using my machine. It has got two ethernet cards. I installed Ubuntu 8.04. I did the bridging using "bridge-utils". Even though it turned out to be successful, I came across certain other problems:
1) I couldn't use the internet using my machine.
2) After every restart, I had to redo the whole bridging configuration.
This is how i configured.
The two ethernet cards are eth0 and eth1. eth1 is the one connected to the internet. This is what I typed:
brctl addbr br0
brctl addif br0 eth0
brctl addif br0 eth1
ifconfig br0 up
Then i edited the /etc/network/interfaces as follows:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto eth1
iface eth1 inet dhcp
auto br0
iface br0 inet dhcp
After that i restarted the service by typing
/etc/init.d/networking restart
The bridging worked. The client machine could access the internet except mine i.e. the server. Where did I go wrong? What can I do to solve this.
Looking forward for a solution.
Thanking you.
Yours sincerely,
Sibu Thomas Mathew
[-- Attachment #2: Type: text/html, Size: 1406 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bridge] Queries about Bridging
2008-06-22 14:05 [Bridge] Queries about Bridging Sibu Thomas Mathew
@ 2008-06-23 13:44 ` Jonathan Thibault
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Thibault @ 2008-06-23 13:44 UTC (permalink / raw)
To: bridge
You normally should not assign an IP address (or dhcp) to the member
interfaces, only the bridge interface.
Sibu Thomas Mathew wrote:
>
> Sir,
> I shared internet on a LAN using my machine. It has got two ethernet
> cards. I installed Ubuntu 8.04. I did the bridging using
> "bridge-utils". Even though it turned out to be successful, I came
> across certain other problems:
> 1) I couldn't use the internet using my machine.
> 2) After every restart, I had to redo the whole bridging configuration.
>
> This is how i configured.
> The two ethernet cards are eth0 and eth1. eth1 is the one connected to
> the internet. This is what I typed:
> brctl addbr br0
> brctl addif br0 eth0
> brctl addif br0 eth1
> ifconfig br0 up
> Then i edited the /etc/network/interfaces as follows:
> auto lo
> iface lo inet loopback
>
> iface eth0 inet dhcp
>
> auto eth1
> iface eth1 inet dhcp
>
> auto br0
> iface br0 inet dhcp
>
> After that i restarted the service by typing
> /etc/init.d/networking restart
> The bridging worked. The client machine could access the internet
> except mine i.e. the server. Where did I go wrong? What can I do to
> solve this.
>
> Looking forward for a solution.
> Thanking you.
>
> Yours sincerely,
> Sibu Thomas Mathew
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Bridge mailing list
> Bridge@lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/bridge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-06-23 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-22 14:05 [Bridge] Queries about Bridging Sibu Thomas Mathew
2008-06-23 13:44 ` Jonathan Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox