need help with ifcfg-eth0 cannot access server outside network

Discussion in 'Installation/Configuration' started by rdells, Feb 4, 2006.

  1. rdells

    rdells New Member

    Using FC4, installed by means of "Howtoforge"
    Installed fresh with 2 NICs, eth0 was a NIC card I removed, eth1 was onboard NIC. had trouble accessing email, so tried to re-do the ifcfg-eth0 files.
    All seems fine on the local network, accessing it behind router to my static ip's.
    From outside (public) cannot access www, email, not a thing...
    I turned off ispconfig firewall. All worked ok when 2 NICs were installed,...I just opened a can of worms taking out the NIC card, trying to run on the onboard NIC instead!
    ************
    I made all these look the same:
    /etc/sysconfig/networking/devices/ifcfg-eth0
    /etc/sysconfig/networking/profiles/default/ifcfg-eth0
    /etc/sysconfig/network-scripts/ifcfg-eth0

    DEVICE=eth0
    BOOTPROTO=static
    BROADCAST=68.105.242.63
    HWADDR=BLABLABLA
    IPADDR=68.105.242.53
    NETMASK=255.255.255.224
    NETWORK=68.105.242.32
    ONBOOT=yes
    TYPE=Ethernet
    ************
    Did I miss a network config file, or something else files?
    Did I do those 3 files correct?

    I am not very bright, eh?
    Thanks for any input,
    Rob
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    You mean you had eth0 and eth1, and then you removed eth0? I'd say you then need the files

    /etc/sysconfig/networking/devices/ifcfg-eth1
    /etc/sysconfig/networking/profiles/default/ifcfg-eth1
    /etc/sysconfig/network-scripts/ifcfg-eth1

    because you're using eth1. And as DEVICE in these files you should also use eth1 instead of eth0.

    Can you post the output of
    Code:
    ifconfig
    here?
     
  3. rdells

    rdells New Member

    Thanks

    I found out what was happening - I have a couple ip addresses that have not been used in awhile, cycled power on my cable modem, I can ping all the way out now.
     

Share This Page