Find the answer to your Linux question:
Results 1 to 3 of 3
Internet<---eth1[LinuxBox_1]eth0<---eth0[LinuxBox_2] I am attempting configure LinuxBox_2 to connect to the Internet. LinuxBox_2 - eth0 : 169.254.4.218 LinuxBox_2 - gw : 169.254.4.217 LinuxBox_1 - eth0 : 169.254.4.217 LinuxBox_1 - eth1 : ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2006
    Posts
    1

    inet<---eth1[LinuxBox_1]eth0<---e0[LinuxBox_2] : LinuxBox_2 hv no inet connection?


    Internet<---eth1[LinuxBox_1]eth0<---eth0[LinuxBox_2]

    I am attempting configure LinuxBox_2 to connect to the Internet.

    LinuxBox_2 - eth0 : 169.254.4.218
    LinuxBox_2 - gw : 169.254.4.217

    LinuxBox_1 - eth0 : 169.254.4.217
    LinuxBox_1 - eth1 : 172.19.97.127
    LinuxBox_1 - gw : 172.19.96.1

    LinuxBox_1 - Kernel IP routing table(route -n)
    Destination___Gateway____Genmask_______Flags__Ifac e
    172.19.96.0__ 0.0.0.0______255.255.254.0__U______eth1
    169.254.0.0___0.0.0.0_____255.255.0.0_____U______e th0
    0.0.0.0_______172.19.96.1_0.0.0.0_________UG_____e th1

    LinuxBox_2 - Kernel IP routing table:
    Destination__Gateway________Genmask______Flags__If ace
    169.254.0.0__0.0.0.0________255.255.0.0_____U_____ _eth0
    0.0.0.0______169.254.4.217__0.0.0.0_________UG____ __eth0

    On LinuxBox_2, I am unable to ping the LinuxBox_1 gateway (172.19.96.1) and LinuxBox_1 eth1 (172.19.97.127).
    "From 169.254.4.217 Dest Host Unreachable".

    But I could ping LinuxBox_1 eth0 (169.254.4.217).

    Could anyone shed some light on this matter,
    Your help will be greatly apprecaited!

    Many Thx,

    Andrea

  2. #2
    Linux Newbie framp's Avatar
    Join Date
    Jul 2006
    Location
    Stuttgart, Germany
    Posts
    240
    That's a very detailed but uncommon description of your configuration and helps a lot to understand your environment.

    I see two possible reasons for this problem:

    1) no forwarding enabled (cat /proc/sys/net/ipv4/ip_forward yshould return 1)
    2) firewall on linux_box1 (iptables -L -nv should give you details)
    "Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." Linus Benedict Torvalds

  3. #3
    Just Joined! cuervo73's Avatar
    Join Date
    Apr 2006
    Posts
    47

    Re: inet<---eth1[LinuxBox_1]eth0<---e0[LinuxBox_2] : LinuxBox_2 hv no inet connection?

    Andrea,

    a couple of dumb questions:

    1. what kind of CAT5 cable connection do you have there between computer 1 and computer 2? I saw no hub nor switch in your diagram.

    you should have either:
    a) a crossover cable between the NIC cards on each
    b) a pair of straight thru cables connected from the NICs to a switch or hub

    2. look at the rear of the two computers at the external plate of each NIC. Most decent NICs have 2-4 LEDS there. One should be the link LED and it should be lit on both NICs when the CAT5 cables are connected. Are they?

    cuervo

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •