RE: Autoinstall over ethernet

From: Antonio Soares (amsoares@netcabo.pt)
Date: Sun Mar 25 2007 - 00:52:16 ART


Hello,

I was also working on this topic and found same issues. Sincerelery I
thought this was a easy topic but it seems I was wrong.

What I found about this:

- The new router using Auto-Install will only use the first serial interface
available (s0, sx/0).

- If the new router only has ethernet interfaces, it will only use the first
ethernet interface (e0, ex/0).

- The interface addressing can be assigned via SLARP, BOOTP or DHCP.

- SLARP is used when the new router is connected to the staging router via
HDLC.

- BOOTP is used when the new router is connected to the staging router via
FR.

- DHCP is used over ethernet but the DHCP server must be on the same segment
as the new router.

After initial ip addressing assigment, the DHCP server (ethernet) or the
staging router (HDLC or FR) will take care of TFTP requests (option 150 or
ip helper-address).

Then the new router will query the TFTP server about a "network-confg" file.

Then the new router will query the TFTP server about a
"new-router-hostname-confg" file.

Everything is well explained in the DocCD:

http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hcf_c/
ch15/cfhanstl.htm

Regards,
Antonio

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of Adam
Hickey
Sent: sexta-feira, 23 de Margo de 2007 22:53
To: ccielab@groupstudy.com
Subject: Autoinstall over ethernet

  There's something I'm missing here. I'm toying around with autoinstall to
understand it better and I believe I have most of it setup correctly. I'm
trying to build a router by autoinstall that has both a FR connection and an
Ethernet link. I am using a router connected to the ethernet side as
DHCP/DNS and TFTP server.

  I'm taking the process step by step and thus, not using a network-confg
file, rather DNS to provide the hostname.

  The router being built properly aquires an IP address for the ethernet
link via DHCP and its hostname through reverse-dns. However, beyond that
point it only tries to pull down config files only by utilizing Serial0/0
rather than E0/0.

  R4 - Serving router
  Rack1R4#
  *Mar 30 16:11:54.371: DHCPD: Sending notification of DISCOVER:
  *Mar 30 16:11:54.371: DHCPD: htype 1 chaddr 0006.d7bc.d441
  *Mar 30 16:11:54.371: DHCPD: remote id 020a0000ae012d0401000000
  *Mar 30 16:11:54.371: DHCPD: circuit id 00000000
  *Mar 30 16:11:54.371: DHCPD: Seeing if there is an internally specified
pool
class:
  *Mar 30 16:11:54.371: DHCPD: htype 1 chaddr 0006.d7bc.d441
  *Mar 30 16:11:54.371: DHCPD: remote id 020a0000ae012d0401000000
  *Mar 30 16:11:54.371: DHCPD: circuit id 00000000
  *Mar 30 16:11:54.379: DHCPD: Sending notification of ASSIGNMENT:
  *Mar 30 16:11:54.383: DHCPD: address 174.1.45.5 mask 255.255.255.0
  Rack1R4#
  *Mar 30 16:11:54.383: DHCPD: lease time remaining (secs) = 4294967295
  Rack1R4#
  *Mar 30 16:12:12.219: DNS: Incoming UDP query (id#1)
  *Mar 30 16:12:12.219: DNS: Type 12 DNS query (id#1) for host
'5.45.1.174.in-addr.arpa' from 174.1.45.5(49792)
  *Mar 30 16:12:12.219: DNS: Finished processing query (id#1) in 0.000 secs

  Rack1R4#sh run | in tftp
  tftp-server flash:rack1r5-confg

  R5 - New Router
  Domain server mapped address 174.1.45.5 to Rack1R5

           --- System Configuration Dialog ---

  Would you like to enter the initial configuration dialog? [yes/no]: no

  Would you like to terminate autoinstall? [yes]: no

  Please Wait. Autoinstall being attempted over Serial0/0
!!!!!!!!!!!!!!!!!!!!!!!!
  %Error opening tftp://255.255.255.255/network-confg (Timed
out)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  %Error opening tftp://255.255.255.255/cisconet.cfg (Timed
out)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  %Error opening tftp://255.255.255.255/rack1r5-confg (Timed
out)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  %Error opening tftp://255.255.255.255/rack1r5-confg (Timed
out)!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  %Error opening tftp://255.255.255.255/rack1r5-confg (Timed out)
  *Mar 1 00:00:55.327: AUTOINSTALL: Ethernet0/0 is assigned 174.1.45.5
  *Apr 6 16:02:33.159: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse
from (tftp://255.255.255.255/network-confg) failed
  %Error opening tftp://255.255.255.255/cisconet.cfg (Timed out)
  *Apr 6 16:03:14.163: %SYS-4-CONFIG_RESOLVE_FAILURE: System config parse
from (tftp://255.255.255.255/cisconet.cfg)

  Is there something else I need to do in order for it to use e0/0?
  What am I missing? Thanks in advance for your input.
  Adam



This archive was generated by hypermail 2.1.4 : Sun Apr 01 2007 - 06:35:52 ART