Results 1 to 10 of 44

Thread: new nic has no ip 12.04

Threaded View

  1. #40
    Join Date
    Mar 2009
    Beans
    5

    Re: new nic has no ip 12.04

    Hello,

    I'm struggling with kind of same issue here.
    I have Ubuntu server 10.04 2 network cards in it.
    eth0 is LAN side and has fixed ip, eth1 will be having a dynamic ip from the isp provider when they come next week.
    Now i was already testing the eth1 card to put it also in the same LAN side to obtain an IP from the dhcp server running on the server, can this work for only testing?
    Because when i restart the interfaces eth1 does not get an IP
    And I'm worried and thinking that this NIC isn't working properly but the output with ifconfig -a gives me all kind of information about eth1
    I also have ipv4forward enabled and later on when the actual isp line is there i will also activate the NAT in iptables.
    But first I'd like to know if I can test eth1 to get an ip from the dhcp server on eth0 ?
    If I give eth1 a static IP in the range of the LAN I can ping to it. but why does it not get a dhcp IP ?
    I also have tried a new NIC but it gives me the same result

    Even after connecting a router to this nic and did a restart it gave me this same result :
    /etc/init.d/networking restart
    * Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.eth2.pid with pid 7936
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.3
    Copyright 2004-2009 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/

    Listening on LPF/eth2/00:0e:2e:37:20:83
    Sending on LPF/eth2/00:0e:2e:37:20:83
    Sending on Socket/fallback
    ssh stop/waiting
    ssh start/running, process 10443
    Internet Systems Consortium DHCP Client V3.1.3
    Copyright 2004-2009 Internet Systems Consortium.
    All rights reserved.
    For info, please visit https://www.isc.org/software/dhcp/

    Listening on LPF/eth2/00:0e:2e:37:20:83
    Sending on LPF/eth2/00:0e:2e:37:20:83
    Sending on Socket/fallback
    DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 4
    DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 4
    DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 10
    DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 12
    DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 17
    DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 14
    Last edited by rytec; October 9th, 2012 at 11:11 PM. Reason: extra test, test2

Bookmarks

Posting Permissions

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