From: Kevin S. <ks...@sh...> - 2004-10-30 21:39:41
|
Hey guys, I have a slighty problem. I have 2 nic cards, and i want to route them together. SMC #1 as NICA SMC #2 as NICB NICA ---> router(192.168.1.1) ---> cable modem ----> internet NICB ---> Gamecube(192.168.0.47) NICA ip address is 192.168.1.101 gw 192.168.1.1 NICB ip address is 192.168.0.49 oh, btw this is in a windows environment I've tried WIN ICS and it changes the ip of NICB to 192.168.0.1, which then loses connection of the nbd server(root filesystem), and Gc-linux is broken. What i guess i need is either A) recompile kernel to load root filesystem from 192.168.0.1 or figure out how to route NICA, to NICB correctly. any help is appreciated. Regards, Kevin Sucre |
From: Matt S. <ma...@ge...> - 2004-10-30 21:56:25
|
If you have Windows XP you can select both connections and click "Bridge" - this will merge them into one interface exactly as you want. I have the same thing but on a FreeBSD server; NIC A ---> router ---> internet NIC B ---> gigabit switch ---> multiple platforms NIC C (54mbit wireless) --> laptops By bridging A and B, you effectively create yourself a software ethernet switch which the machine treats as a single IP address. As long as you configure each machine on the network properly (ip, subnet, gateway etc.) it will all Just Work (tm). Any firewall configured for the bridge interface will act on packets from all original interfaces (this is great as it allows you to have multiple physical lans controlled by one firewall) With Windows 2000 and below you may have a little trouble because it's not built in; last time I checked there was a little tool called EtherBridge (website at - http://www.ntkernel.com/utilities/etherbridge.shtml) which worked, but that site's been down for a while for me. I have a copy of the last version I used if you want to try it. -- Matt Sealey <ma...@ge...> Genesi, Manager, Developer Relations > -----Original Message----- > From: gc-...@li... > [mailto:gc-...@li...]On Behalf Of Kevin > Sucre > Sent: 30 October 2004 22:39 > To: gc-...@li... > Subject: [Gc-linux-devel] Networking the cube > > > Hey guys, > > I have a slighty problem. I have 2 nic cards, and i want to route them > together. > > SMC #1 as NICA > SMC #2 as NICB > > NICA ---> router(192.168.1.1) ---> cable modem ----> internet > NICB ---> Gamecube(192.168.0.47) > > NICA ip address is 192.168.1.101 gw 192.168.1.1 > NICB ip address is 192.168.0.49 > > oh, btw this is in a windows environment > > I've tried WIN ICS and it changes the ip of NICB to 192.168.0.1, which then > loses connection of the nbd server(root filesystem), and Gc-linux is broken. > What i guess i need is either A) recompile kernel to load root filesystem > from 192.168.0.1 or figure out how to route NICA, to NICB correctly. > > any help is appreciated. > > Regards, > > Kevin Sucre > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gc-linux-devel mailing list > Gc-...@li... > https://lists.sourceforge.net/lists/listinfo/gc-linux-devel > |
From: Rob R. <ro...@re...> - 2004-10-31 07:43:39
|
Instead of 'you guys' recompiling the kernel you can also open the .DOL in a binary/hex editor and search for 192.168 to change the IP of the cube. The ip of the NBD server is in a comperssed initrd, so that won't be changed this way. Using an NFS-root kernel and a Windows NFS server, it could also work. Rob > -----Oorspronkelijk bericht----- > Van: gc-...@li... > [mailto:gc-...@li...] Namens Kevin Sucre > Verzonden: zaterdag 30 oktober 2004 23:39 > Aan: gc-...@li... > Onderwerp: [Gc-linux-devel] Networking the cube > > > Hey guys, > > I have a slighty problem. I have 2 nic cards, and i want to > route them > together. > > SMC #1 as NICA > SMC #2 as NICB > > NICA ---> router(192.168.1.1) ---> cable modem ----> internet > NICB ---> Gamecube(192.168.0.47) > > NICA ip address is 192.168.1.101 gw 192.168.1.1 > NICB ip address is 192.168.0.49 > > oh, btw this is in a windows environment > > I've tried WIN ICS and it changes the ip of NICB to > 192.168.0.1, which then > loses connection of the nbd server(root filesystem), and > Gc-linux is broken. > What i guess i need is either A) recompile kernel to load > root filesystem > from 192.168.0.1 or figure out how to route NICA, to NICB correctly. > > any help is appreciated. > > Regards, > > Kevin Sucre > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on > Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Gc-linux-devel mailing list Gc-...@li... > https://lists.sourceforge.net/lists/listinfo/gc-linux-devel > |
From: Magnus B. <mag...@al...> - 2004-10-31 18:26:30
|
On Sat, 30 Oct 2004 15:39:20 -0600 "Kevin Sucre" <ks...@sh...> wrote: > Hey guys, > > I have a slighty problem. I have 2 nic cards, and i want to route > them together. > > SMC #1 as NICA > SMC #2 as NICB > > NICA ---> router(192.168.1.1) ---> cable modem ----> internet > NICB ---> Gamecube(192.168.0.47) > > NICA ip address is 192.168.1.101 gw 192.168.1.1 > NICB ip address is 192.168.0.49 > > oh, btw this is in a windows environment > > I've tried WIN ICS and it changes the ip of NICB to 192.168.0.1, which > then loses connection of the nbd server(root filesystem), and Gc-linux > is broken. What i guess i need is either A) recompile kernel to load > root filesystem from 192.168.0.1 or figure out how to route NICA, to > NICB correctly. I don't understand exactly what you mean by "route together". I would guess you need masquerading in the router so you can access the internet from the Gamecube (but it seems you are describing something else). As Matt sugested you can also configure your router as a bridge. That gets you the same result as if you connected the Gamecube, the router and the cable modem to the same hub (which would leave one nic in router unused and it would no longer be a router). With this setup you might not be able to access the internet with the Gamecube since it doesn't have a valid IP-address for internet access. OR the Gamecube will allocate a valid IP-address (in the same way as the router does), but your internet provider might not allow this. (Or is it the cable modem that hands out the IP-addresses and also acts as a masquerade router?) |
From: Ghost W. <gh...@gh...> - 2005-02-05 18:51:54
|
> Hey guys, > > I have a slighty problem. I have 2 nic cards, and i want to route them > together. > > SMC #1 as NICA > SMC #2 as NICB > > NICA ---> router(192.168.1.1) ---> cable modem ----> internet > NICB ---> Gamecube(192.168.0.47) > > NICA ip address is 192.168.1.101 gw 192.168.1.1 > NICB ip address is 192.168.0.49 > > oh, btw this is in a windows environment > > I've tried WIN ICS and it changes the ip of NICB to 192.168.0.1, which then > loses connection of the nbd server(root filesystem), and Gc-linux is broken. > What i guess i need is either A) recompile kernel to load root filesystem > from 192.168.0.1 or figure out how to route NICA, to NICB correctly. > > any help is appreciated. > > Regards, > > Kevin Sucre > > > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click This one is quite simple. Since you use 192.168.1.x IPs you can share your internet conection from NICA. In my windows it is just check box and then you are up and running. Windows XP (dunno about the rest yet.) Propeties on NICA, Click the tab Advanced, and check the box "Alown users to acess internet throu this computer" and it should work. (I got a swedish windows xp so this tranclation is probably not the best.) |