Guest User!

You are not Sophos Staff.

[8.285][NOTABUG][CLOSED] External interface won't come up when using DHCP

Background

I have been running ASG 8.103 on hardware for a while - runs well.
I installed ASG 8.103 as VM on esxi 5.
Made sure the MAC of the external connection was same as hardware box.
Imported config , moved cables - everything works fine.

Now for the Beta

I installed the latest 8.290 as VM on same esxi 5.0 host
I set the MAC address of the external interface the same as it was on the existing ASG 8.103. 
Imported config, turned off the 8.103 VM and turned on the 8.290.
External interface is marked as down and there was nothing I could do to bring it up.
Re-booted DSL modem (note it is a modem so it is bridging connection to the ISP.) - No effect.
Tried renewing the lease from the ASG  - no effect.

This is the same as I saw when I tried using 8.201 and 8.202 on the physical box.  Something is different in the DHCP client that does not allow it to be connected when there is a lease existing.


UPDATE:  I used an XP instance where I cloned the MAC address and connected this to my WAN  (disconnected the ASG ).
The XP got the same DHCP lease as the ASG 8.103 instance had.
I then did a ipconfig /release to force a release of the lease.

Disconnected XP and re-connected the ASG 8.290 interface

This worked - the 8.290 now has the external interface  "UP"
Parents
  • Anything in system.log by dhclient if there was a lease received?

    Was your old ASG still running while the new ASG tried
    to get a lease?

    Cheers
     Ulrich
  • Anything in system.log by dhclient if there was a lease received?

    Was your old ASG still running while the new ASG tried
    to get a lease?

    Cheers
     Ulrich


    Yes old ASG was shutdown when new tried to get lease

    Log shows 

    2011:12:03-12:19:40 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
    2011:12:03-12:19:44 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
    2011:12:03-12:19:53 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
    2011:12:03-12:19:54 GKL-Astaro postgres[8817]: [2-1] LOG:  could not receive data from client: Connection reset by peer
    2011:12:03-12:19:54 GKL-Astaro postgres[8817]: [3-1] LOG:  unexpected EOF on client connection
    2011:12:03-12:20:00 GKL-Astaro postgres[8989]: [2-1] LOG:  unexpected EOF on client connection
    2011:12:03-12:20:08 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
    2011:12:03-12:20:16 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
    2011:12:03-12:20:32 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
    2011:12:03-12:20:41 GKL-Astaro dhclient: No DHCPOFFERS received.
    2011:12:03-12:20:41 GKL-Astaro dhclient: No working leases in persistent database - sleeping.

    2011:12:03-12:26:09 GKL-Astaro dhcpc-sh: starting DHCP client
    2011:12:03-12:26:09 GKL-Astaro dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R3
    2011:12:03-12:26:09 GKL-Astaro dhclient: Copyright 2004-2011 Internet Systems Consortium.
    2011:12:03-12:26:09 GKL-Astaro dhclient: All rights reserved.
    2011:12:03-12:26:09 GKL-Astaro dhclient: For info, please visit https://www.isc.org/software/dhcp/
    2011:12:03-12:26:09 GKL-Astaro dhclient: 
    2011:12:03-12:26:10 GKL-Astaro dhclient: Listening on LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-12:26:10 GKL-Astaro dhclient: Sending on   LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-12:26:10 GKL-Astaro dhclient: Sending on   Socket/fallback
    2011:12:03-12:26:10 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
    2011:12:03-12:26:17 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
    2011:12:03-12:26:29 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
    2011:12:03-12:26:43 GKL-Astaro dns-resolver[7123]: DNS server failed to contact!
    2011:12:03-12:26:48 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
    2011:12:03-12:27:01 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
    2011:12:03-12:27:11 GKL-Astaro dhclient: No DHCPOFFERS received.
    2011:12:03-12:27:11 GKL-Astaro dhclient: No working leases in persistent database - sleeping.
    2011:12:03-12:27:40 GKL-Astaro dhcpc-sh: starting DHCP client
    2011:12:03-12:27:40 GKL-Astaro dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R3
    2011:12:03-12:27:40 GKL-Astaro dhclient: Copyright 2004-2011 Internet Systems Consortium.
    2011:12:03-12:27:40 GKL-Astaro dhclient: All rights reserved.
    2011:12:03-12:27:40 GKL-Astaro dhclient: For info, please visit https://www.isc.org/software/dhcp/
    2011:12:03-12:27:40 GKL-Astaro dhclient: 
    2011:12:03-12:27:40 GKL-Astaro dhclient: Listening on LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-12:27:40 GKL-Astaro dhclient: Sending on   LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-12:27:40 GKL-Astaro dhclient: Sending on   Socket/fallback
    2011:12:03-12:27:40 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
    2011:12:03-12:27:43 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
    2011:12:03-12:27:43 GKL-Astaro dns-resolver[7123]: DNS server failed to contact!
    2011:12:03-12:27:47 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
    2011:12:03-12:27:56 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
    2011:12:03-12:28:11 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 17
    2011:12:03-12:28:28 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
    2011:12:03-12:28:41 GKL-Astaro dhclient: No DHCPOFFERS received.
    2011:12:03-12:28:41 GKL-Astaro dhclient: No working leases in persistent database - sleeping.


    Then after I connected XP machine with same MAC - it (the XP machine got a lease)
    I then did ipconfig / release.

    connected the ASG again 

    log shows

    2011:12:03-16:34:09 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
    2011:12:03-16:34:09 GKL-Astaro dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
    2011:12:03-16:34:09 GKL-Astaro dhclient: DHCPOFFER from 71.x.y.z
    2011:12:03-16:34:09 GKL-Astaro dhclient: DHCPACK from 71.x.y.z
    2011:12:03-16:34:10 GKL-Astaro dhclient: bound to 71.a.b.c -- renewal in 3011 seconds.
    (Note : x.y.z and a.b.c are used for security )


    Subsequent Renew from ASG shows

    2011:12:03-16:34:44 GKL-Astaro dhcpc-sh: starting DHCP client
    2011:12:03-16:34:44 GKL-Astaro dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R3
    2011:12:03-16:34:44 GKL-Astaro dhclient: Copyright 2004-2011 Internet Systems Consortium.
    2011:12:03-16:34:44 GKL-Astaro dhclient: All rights reserved.
    2011:12:03-16:34:44 GKL-Astaro dhclient: For info, please visit https://www.isc.org/software/dhcp/
    2011:12:03-16:34:44 GKL-Astaro dhclient: 
    2011:12:03-16:34:45 GKL-Astaro dhclient: Listening on LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-16:34:45 GKL-Astaro dhclient: Sending on   LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-16:34:45 GKL-Astaro dhclient: Sending on   Socket/fallback
    2011:12:03-16:34:45 GKL-Astaro dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
    2011:12:03-16:34:45 GKL-Astaro dhclient: DHCPACK from 71.x.y.z
    2011:12:03-16:34:46 GKL-Astaro dhclient: bound to 71.a.b.c -- renewal in 2880 seconds.
Reply
  • Anything in system.log by dhclient if there was a lease received?

    Was your old ASG still running while the new ASG tried
    to get a lease?

    Cheers
     Ulrich


    Yes old ASG was shutdown when new tried to get lease

    Log shows 

    2011:12:03-12:19:40 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
    2011:12:03-12:19:44 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
    2011:12:03-12:19:53 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 14
    2011:12:03-12:19:54 GKL-Astaro postgres[8817]: [2-1] LOG:  could not receive data from client: Connection reset by peer
    2011:12:03-12:19:54 GKL-Astaro postgres[8817]: [3-1] LOG:  unexpected EOF on client connection
    2011:12:03-12:20:00 GKL-Astaro postgres[8989]: [2-1] LOG:  unexpected EOF on client connection
    2011:12:03-12:20:08 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 8
    2011:12:03-12:20:16 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
    2011:12:03-12:20:32 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
    2011:12:03-12:20:41 GKL-Astaro dhclient: No DHCPOFFERS received.
    2011:12:03-12:20:41 GKL-Astaro dhclient: No working leases in persistent database - sleeping.

    2011:12:03-12:26:09 GKL-Astaro dhcpc-sh: starting DHCP client
    2011:12:03-12:26:09 GKL-Astaro dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R3
    2011:12:03-12:26:09 GKL-Astaro dhclient: Copyright 2004-2011 Internet Systems Consortium.
    2011:12:03-12:26:09 GKL-Astaro dhclient: All rights reserved.
    2011:12:03-12:26:09 GKL-Astaro dhclient: For info, please visit https://www.isc.org/software/dhcp/
    2011:12:03-12:26:09 GKL-Astaro dhclient: 
    2011:12:03-12:26:10 GKL-Astaro dhclient: Listening on LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-12:26:10 GKL-Astaro dhclient: Sending on   LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-12:26:10 GKL-Astaro dhclient: Sending on   Socket/fallback
    2011:12:03-12:26:10 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
    2011:12:03-12:26:17 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
    2011:12:03-12:26:29 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 19
    2011:12:03-12:26:43 GKL-Astaro dns-resolver[7123]: DNS server failed to contact!
    2011:12:03-12:26:48 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
    2011:12:03-12:27:01 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 10
    2011:12:03-12:27:11 GKL-Astaro dhclient: No DHCPOFFERS received.
    2011:12:03-12:27:11 GKL-Astaro dhclient: No working leases in persistent database - sleeping.
    2011:12:03-12:27:40 GKL-Astaro dhcpc-sh: starting DHCP client
    2011:12:03-12:27:40 GKL-Astaro dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R3
    2011:12:03-12:27:40 GKL-Astaro dhclient: Copyright 2004-2011 Internet Systems Consortium.
    2011:12:03-12:27:40 GKL-Astaro dhclient: All rights reserved.
    2011:12:03-12:27:40 GKL-Astaro dhclient: For info, please visit https://www.isc.org/software/dhcp/
    2011:12:03-12:27:40 GKL-Astaro dhclient: 
    2011:12:03-12:27:40 GKL-Astaro dhclient: Listening on LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-12:27:40 GKL-Astaro dhclient: Sending on   LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-12:27:40 GKL-Astaro dhclient: Sending on   Socket/fallback
    2011:12:03-12:27:40 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
    2011:12:03-12:27:43 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
    2011:12:03-12:27:43 GKL-Astaro dns-resolver[7123]: DNS server failed to contact!
    2011:12:03-12:27:47 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
    2011:12:03-12:27:56 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 15
    2011:12:03-12:28:11 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 17
    2011:12:03-12:28:28 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
    2011:12:03-12:28:41 GKL-Astaro dhclient: No DHCPOFFERS received.
    2011:12:03-12:28:41 GKL-Astaro dhclient: No working leases in persistent database - sleeping.


    Then after I connected XP machine with same MAC - it (the XP machine got a lease)
    I then did ipconfig / release.

    connected the ASG again 

    log shows

    2011:12:03-16:34:09 GKL-Astaro dhclient: DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
    2011:12:03-16:34:09 GKL-Astaro dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
    2011:12:03-16:34:09 GKL-Astaro dhclient: DHCPOFFER from 71.x.y.z
    2011:12:03-16:34:09 GKL-Astaro dhclient: DHCPACK from 71.x.y.z
    2011:12:03-16:34:10 GKL-Astaro dhclient: bound to 71.a.b.c -- renewal in 3011 seconds.
    (Note : x.y.z and a.b.c are used for security )


    Subsequent Renew from ASG shows

    2011:12:03-16:34:44 GKL-Astaro dhcpc-sh: starting DHCP client
    2011:12:03-16:34:44 GKL-Astaro dhclient: Internet Systems Consortium DHCP Client 4.1-ESV-R3
    2011:12:03-16:34:44 GKL-Astaro dhclient: Copyright 2004-2011 Internet Systems Consortium.
    2011:12:03-16:34:44 GKL-Astaro dhclient: All rights reserved.
    2011:12:03-16:34:44 GKL-Astaro dhclient: For info, please visit https://www.isc.org/software/dhcp/
    2011:12:03-16:34:44 GKL-Astaro dhclient: 
    2011:12:03-16:34:45 GKL-Astaro dhclient: Listening on LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-16:34:45 GKL-Astaro dhclient: Sending on   LPF/eth1/00:1d:92:b6:52:6b
    2011:12:03-16:34:45 GKL-Astaro dhclient: Sending on   Socket/fallback
    2011:12:03-16:34:45 GKL-Astaro dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67
    2011:12:03-16:34:45 GKL-Astaro dhclient: DHCPACK from 71.x.y.z
    2011:12:03-16:34:46 GKL-Astaro dhclient: bound to 71.a.b.c -- renewal in 2880 seconds.
Children
No Data