Rasnarok

I'm trying to connect my xbox to my PC so I can test some of the games I have made with XNA and I've been having a bit of trouble. Everytime I connect it says "Your console didn't obtain an IP address from your DHCP server" no matter what I do with the network settings. Can somebody tell me what I should do to get this working please


Re: XNA Game Studio Express Connecting XNA to Xbox 360

Stephen Styrchak - MSFT

What are the steps you take on the console before you get this error, and where does the error get displayed Are just having trouble getting connected to Live, or does this error only occur when you launch the XNA Game Launcher

--Stephen





Re: XNA Game Studio Express Connecting XNA to Xbox 360

Rasnarok

I can connect to xbox live because with that I just connect directly to the modem but with XNA I am trying to connect to the PC and it just won't assign an IP address. I also cannot connect to the PC using the windows connect thing either. When I run the diagnostic it gives me the error I have in my first post.




Re: XNA Game Studio Express Connecting XNA to Xbox 360

Keith Henrickson

This is actually a pretty simple networking issue. Every device on an IP network has to have an IP address. DHCP is the most common method of assigning IP addresses automatically. However, only ONE device on a network is allowed to be a DHCP server and assign these addresses, so a PC will typically not run one.

When you plug the xbox to your cable modem, the cable co is running a DHCP server, your XBox gets it's IP address, and goes on and is happy. When you plug the XBox directly to the PC, neither one is running a DHCP server, so...no IP address.

You can assign IP addresses manually on the 360, I think. Of course, getting all the numbers right if your networking experience is limited is not easy. You can't just bang things in and expect it to work.

Your best bet is probably to get one of the teeny 'connection sharing' routers that you can get an electronics shop for less than the price of a decent 360 game. You plug it into your cable modem, your PC, and your 360, everyone gets on the net at the same time, and the DHCP issue is solved. Most of those $50-$60 jobs are pretty easy to set up, often having a default configuration that is suitable for immediate use.





Re: XNA Game Studio Express Connecting XNA to Xbox 360

Rasnarok

Ok thanks for that. I don't have much experience in networking. I'll check out a store for one of those routers within the next couple days