LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Bridging Problem (https://www.linuxquestions.org/questions/linux-networking-3/bridging-problem-351561/)

SneakerElph 08-09-2005 12:51 PM

Bridging Problem
 
Hi! i'm new here, but i've used linux for a long time. my question is this:

my server (Mandrake 9.1, i know its old) is set up as a bridge to my PS2. all is fine and dandy, except the server wont access the internet. this is odd because i can get online with the PS2 going through the server. i think it is a problem with linux not using the bridge as the internet device, but i am not sure on how to set that. the bridge/server can access the network just fine, and other network computers can access it, except the server can't access the internet. i am at a loss on how to fix this, and any help would be much appreciated! im sorry if this is posted alot, i searched and did not find anything.

Thank you!

Centinul 08-09-2005 01:35 PM

try posting the output of iptables -L and route -n

SneakerElph 08-09-2005 01:40 PM

well i dont have iptables installed. but the output of route -n is

Code:

Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
192.168.2.0    0.0.0.0        255.255.255.0  U    0      0        0 bridge
127.0.0.0      0.0.0.0        255.0.0.0      U    0      0        0 lo

it seems i dont have a gateway. how would i go out setting this? i tried ifconfig bridge gateway <ip of gateway> but that doesnt work. thank you again!

masand 08-09-2005 03:01 PM

to add a default gw

route add default gw <ip of ur default gw>

try this without the <>

regards

SneakerElph 08-09-2005 03:03 PM

worked like a charm! (wait, how often do charms ACTUALLY work?) thank you very much! now you guys can see my blog and Ace Of spades links in my signature!

masand 08-09-2005 03:06 PM

chams work also if the charmer is good
so it was u in this case

regards


All times are GMT -5. The time now is 01:52 PM.