View previous topic :: View next topic |
Author |
Message |
shaumux Veteran
Joined: 13 May 2005 Posts: 1013 Location: Hamburg
|
Posted: Fri Jan 23, 2009 8:20 pm Post subject: Creating a network bridge[solved] |
|
|
One of my PCs have 2 network ports.
I want to bridge the 2 networks so i can have net on the other pc.
I have tried to follow the handbook but its not working for me.
I have installed the bridge-utils package but still doesn't work.
Here's my /etc/conf.d/net file.
Code: | brctl_br0=( "setfd 0" "sethello 0" "stp off" )
bridge_br0="eth0 eth1"
config_eth0=( "null" )
config_eth1=( "null" )
config_br0=( "192.168.1.20 netmask 255.255.255.0" )
routes_br0=( "default via 192.168.1.1" )
|
Please Help
Thanks
Last edited by shaumux on Fri Jan 23, 2009 10:34 pm; edited 1 time in total |
|
Back to top |
|
|
OPelerin Guru
Joined: 17 Jul 2004 Posts: 354 Location: Belgium
|
Posted: Fri Jan 23, 2009 9:01 pm Post subject: |
|
|
I guess you've created the right simlinks?
/etc/init.d/net.br0 linked to net.lo?
What does it do when you do
/etc/init.d/net.br0 start _________________ Olivier PELERIN |
|
Back to top |
|
|
shaumux Veteran
Joined: 13 May 2005 Posts: 1013 Location: Hamburg
|
Posted: Fri Jan 23, 2009 9:14 pm Post subject: |
|
|
Code: | ls -l /etc/init.d/net*
lrwxrwxrwx 1 root root 20 2009-01-24 01:40 /etc/init.d/net.br0 -> /etc/init.d/net.eth0
lrwxrwxrwx 1 root root 6 2008-11-17 20:53 /etc/init.d/net.eth0 -> net.lo
lrwxrwxrwx 1 root root 20 2008-11-18 03:16 /etc/init.d/net.eth1 -> /etc/init.d/net.eth0
-rwxr-xr-x 1 root root 14682 2008-10-28 17:52 /etc/init.d/net.lo
-rwxr-xr-x 1 root root 2074 2008-10-28 17:52 /etc/init.d/netmount |
Code: | /etc/init.d/net.br0 start
* Caching service dependencies ... [ ok ]
* Bringing up interface br0
* Creating bridge br0 ...
add bridge failed: Package not installed [ !! ]
* ERROR: net.br0 failed to start
|
Any idea?? |
|
Back to top |
|
|
shaumux Veteran
Joined: 13 May 2005 Posts: 1013 Location: Hamburg
|
Posted: Fri Jan 23, 2009 10:34 pm Post subject: |
|
|
Ok i found the problem
I didn't have bridging support enebaled in the kernel.
I enabled it and it works fine now.
Thanks |
|
Back to top |
|
|
|