Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Networking help

Name: Anonymous 2007-01-26 12:19

Well here's the deal: I have a computer and a connection to the internets. I have a PS2 and want to use it without unplugging the ethernet cable from the computer. I can't have a router for reasons I will not detail here, but I do have two network cards. I heard something about a Cross-over ethernet cable and ICS (Internet Connection Sharing), but I'm not too big on this stuff.

I also have a picture of what I want to happen. I don't know if I need the cross-over or not, but it's a basic idea.
http://teamxlink.co.uk/img/networksetup_2nics.png

Name: Anonymous 2007-01-26 13:17

hlap

Name: Anonymous 2007-01-26 13:34

1. Setup

    *

      Get Bridge Config: BRCFG.tgz
    *

      BRCFG may also be found at: http://coledd.com/networking/bridge
    *

      Enable multiple ethernet devices on your machine by adding this line to your /etc/lilo.conf, and re-run lilo:

      append = "ether=0,0,eth1"

      If you have three interfaces on your bridge, use this line instead:

      append = "ether=0,0,eth1 ether=0,0,eth2"

      More interfaces can be found by adding more ether statements. By default a stock Linux kernel probes for a single ethercard, and once one is found the probe ceases. The above append statement tells the kernel to keep probing for more ethernet devices after the first one is found. Alternatively, the boot parameter can be used instead:

      linux ether=0,0,eth1

      Or, with 3 interfaces, use:

      linux ether=0,0,eth1 ether=0,0,eth2

    *

      Recompile the kernel with BRIDGING enabled.
    *

      A bridge should not have an IP address. It CAN, but a plain bridge doesn't need one. To remove the IP address from your bridge, go to /etc/sysconfig/network-scripts/ (for a RedHat system) and copy ifcfg-lo0 to ifcfg-eth0 & ifcfg-eth1. In these two new files, change the line containing DEVICE=lo to DEVICE=eth0 and DEVICE=eth1. Since other distributions may deviate from this, you may need to refer to additional documentation. If there are more than 2 interfaces to this bridge, be sure to make the corresponding configurations to those, as well.
    *

      Reboot so you are running the new kernel with BRIDGING in it, and also to make sure that an IP addresses are not bound to the network interfaces.
    *

      Once the system is backed up, put the ethernet cards into promiscuous mode, so they will look at every packet that passes by its interface:

      ifconfig eth0 promisc ; ifconfig eth1 promisc

      All interfaces which are connected to network segments to be bridged are to be put into promiscuous mode.
    *

      Turn bridging ON using the brcfg program:

      brcfg -ena

    *

      Verify that there is different traffic on each interface:

      tcpdump -i eth0     (in one window)
      tcpdump -i eth1     (in another window)
         

    *

      Run a sniffer or tcpdump on another machine to verify the bridge is separating the segment correctly.

Name: Anonymous 2007-01-26 17:13

I'm on Windows.

Name: Anonymous 2007-01-26 20:01

Name: Anonymous 2007-01-26 23:52

>>5
WRRRRRRRRRRRRYYYYYYYYYYYYYYY

Name: Anonymous 2007-01-27 15:55

a crossover cable is only necessary if you're connecting two computers directly to each other without a hub in between, or connecting two hubs to each other, and there's no 'uplink' port available.

since i don't know if the PS2 network adapter has an uplink port or not, i can't determine if you need a crossover cable or not.

Name: Anonymous 2007-01-27 18:49

>I can't have a router for reasons I will not detail here
BS, detail your excuses now.

Name: Anonymous 2007-01-28 15:01

>>8

Too poor

I didn't want to say anything because I want to only discuss how to do this with a Crossover cable, connecting to my computer.

>>7
I have the slim PS2, so the network adapter is in there already, and it only has a network port labeled "Network", so I guess I need a crossover.

But I still don't know what to do past this.

Name: Anonymous 2007-01-29 9:01 (sage)

You can afford a PS2 but not a router? Stop playing video games and get a job.

Name: Anonymous 2007-01-29 16:57

Wow, it seems that at least half of this board is filled with mentally deficient people.

Name: Anonymous 2007-01-29 18:17

>>11
Only half?
You give 4chan too much credit.

Name: Anonymous 2007-01-30 7:19

>>12

ya rly!
Moar liek 99%, amirite??? olololololol

Name: Anonymous 2007-01-30 8:10

>>10
this man speeks truth

Don't change these.
Name: Email:
Entire Thread Thread List