On Sat, Mar 19, 2005 at 08:05:04AM +0000, Andrew Benton wrote:
> >The trick is not to think of it as an xbox, but just another PC. The
> >netfilter.org site should have all the info you need to get the linux
> >box going as a gateway.
> >
> The thing is I've never connected two computers together before so I've no 
> experience of networking PC's, other than to connect to the internet. I've 
> install a dhcp server on the PC, the xbox is happy with the dhcp server. I 
> can ping the xbox from the PC. So the local network seems to be up. But the 
> xbox is still complaining that it can't see my ISP's nameservers, so it 
> seems that packet forwarding isn't working. It would be simpler to diagnose 
> if it were a PC but I have to work with the xbox's automated tools.

OK. Perhaps you should give us some more info on your system so we can
track this down and get you online so you can get thrashed at Burnout3
or whatever:)

What range is your DHCP server serving? ie. What IP Address did your
xbox get? What are your PC's internal and external IP addresses? What does 
route -n show?
For comparison, my PS2 is on 192.168.2.2, and it's connected to my
downstairs PC, which is 192.168.2.1 on that network, and 192.168.1.14 on
my wireless network. The 192.168.2.x interface on the PC has a
255.255.255.0 netmask, and the default gateway is 192.168.1.1. This
means it knows that packets for 192.168.2.x are to go over the wired
network, and packets for anything else are for the wireless network.
Because ip_forward is enabled, and the iptables rule for FORWARD is just
to allow everything, it knows that any packet it sees on the wired
interface should be re-sent over the wireless one. (My upstairs PC has
similar rules to get that out over the broadband.)

~Ainsley
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to