LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-09-2005, 12:51 PM   #1
SneakerElph
LQ Newbie
 
Registered: Aug 2005
Location: Earth
Distribution: Mandrake/Ubuntu
Posts: 4

Rep: Reputation: 0
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!
 
Old 08-09-2005, 01:35 PM   #2
Centinul
Member
 
Registered: Jun 2005
Distribution: Gentoo
Posts: 552

Rep: Reputation: 30
try posting the output of iptables -L and route -n
 
Old 08-09-2005, 01:40 PM   #3
SneakerElph
LQ Newbie
 
Registered: Aug 2005
Location: Earth
Distribution: Mandrake/Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
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!
 
Old 08-09-2005, 03:01 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
to add a default gw

route add default gw <ip of ur default gw>

try this without the <>

regards
 
Old 08-09-2005, 03:03 PM   #5
SneakerElph
LQ Newbie
 
Registered: Aug 2005
Location: Earth
Distribution: Mandrake/Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 0
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!
 
Old 08-09-2005, 03:06 PM   #6
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
chams work also if the charmer is good
so it was u in this case

regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WAG54G and Bridging cherif Linux - Networking 5 08-30-2005 06:07 AM
bridging problem mcirsta Linux - Networking 0 05-05-2005 02:00 PM
Problem with DHCP on computer connected to the internet through a bridging firewall mullog *BSD 2 04-23-2005 08:41 AM
Bridging problem with modules GraemeK Linux - Networking 0 10-07-2003 10:23 AM
Bridging? JapaneseKamikaz Linux - Networking 0 03-11-2003 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration