how to bridge connections in linux?
how to bridge connections in linux?
Im using Mandriva 2009 and would like to bridge connections from the ethernet to the wireless so I can get my 360 on LIVE without having to reboot to Windows. Is there a way that a somewhat inexperienced linux user can do this or do i have to go messing in the command line?
ThinkPad X200
Think Different
Think Different
Re: how to bridge connections in linux?
There's more than one way to do it. This is NAT, which does what you want but isn't bridging. Run these two lines as root:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A POSTROUTING -t nat -o eth1 -j MASQUERADE
Then set up the interfaces on both systems with static IPs (make up two private ones that aren't in a range used by the internet connection), with the default gateway on the xbox set to the ip of the linux machine.
I guess I'm assuming that you can set a static IP on an xbox.
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -A POSTROUTING -t nat -o eth1 -j MASQUERADE
Then set up the interfaces on both systems with static IPs (make up two private ones that aren't in a range used by the internet connection), with the default gateway on the xbox set to the ip of the linux machine.
I guess I'm assuming that you can set a static IP on an xbox.
Re: how to bridge connections in linux?
unfortunately that did not work. And im having a problem with the repositories in Mandriva at the moment. Everything is missing appearantly yet I can update the sources and it says everything is there. Maybe the servers locked up. I love linux but sometimes it causes stress to the point I wonder if its worth it. Well, its better than a BSOD or that abomination of the computing world that is Mac (i dont mind easier, I do mind stupid though)
ThinkPad X200
Think Different
Think Different
Re: how to bridge connections in linux?
I forgot to mention that you need to change "eth1" to the interface you are using for internet.
Dunno much about Mandriva, so I can't help you there.
Dunno much about Mandriva, so I can't help you there.
-
- Similar Topics
- Replies
- Views
- Last post
-
-
770X Aftermarket Battery? (*And quick PIII linux question)
by Choram » Wed Jan 04, 2017 6:52 am » in ThinkPad Legacy Hardware - 1 Replies
- 928 Views
-
Last post by Dekks
Thu Jan 05, 2017 12:43 am
-
-
-
What is a good Linux OS for legacy thinkpads?
by Blender » Sat Jan 07, 2017 1:47 am » in ThinkPad Legacy Hardware - 26 Replies
- 2625 Views
-
Last post by Farro
Thu Jan 19, 2017 11:55 am
-
-
-
X60 tablet activation or Linux question
by Billaboard » Thu Jan 12, 2017 8:00 pm » in Thinkpad X6x Series incl. X6x Tablet - 12 Replies
- 1878 Views
-
Last post by Billaboard
Fri Jan 20, 2017 6:18 pm
-
-
-
X61 CPU clock limiter on 65w charger w/o batt, and Linux loophole?
by axur-delmeria » Sat Mar 11, 2017 4:54 am » in Linux Questions - 3 Replies
- 391 Views
-
Last post by axur-delmeria
Sat Mar 11, 2017 9:26 am
-
Who is online
Users browsing this forum: No registered users and 1 guest




