Skip to content

es の DHCP 化 #205

@sorah

Description

@sorah

MACアドレスでがんばるのたいへんそう (vlan interfaceのMACアドレスは設定順とかに依存) とおもってたけど、以下でらくらくいけそう

es-exp-01(config-if)#do show run int vlan1000
Building configuration...

Current configuration : 64 bytes
!
interface Vlan1000
 ip address dhcp hostname rk-srnp19a1
end

こういうdhcp request くる

09:12:40.391554 IP (tos 0x0, ttl 59, id 55860, offset 0, flags [none], proto UDP (17), length 392)
    10.33.100.254.67 > 10.33.155.64.67: [udp sum ok] BOOTP/DHCP, Request from 00:29:c2:41:de:41, length 364, xid 0x16d2, Flags [Broadcast] (0x8000)
          Gateway-IP 10.33.100.254
          Client-Ethernet-Address 00:29:c2:41:de:41
          Vendor-rfc1048 Extensions
            Magic Cookie 0x63825363
            DHCP-Message (53), length 1: Discover
            MSZ (57), length 2: 1152
            Client-ID (61), length 28: "cisco-0029.c241.de41-Vl1000"
            Hostname (12), length 11: "rk-srnp19a1"
            Parameter-Request (55), length 8:
              Subnet-Mask (1), Domain-Name-Server (6), Domain-Name (15), Netbios-Name-Server (44)
              Default-Gateway (3), Static-Route (33), TFTP-Server-Address (150), Vendor-Option (43)
            Vendor-Class (60), length 8: "ciscopnp"
            Agent-Information (82), length 51:
              Circuit-ID SubOption 1, length 22: cs-01-venue:ae2.0:mgmt
              Unknown SubOption 9, length 25:
                0x0000:  0000 0a4c 1404 1249 5242 2d69 7262 2e31
                0x0010:  3030 303a 6165 322e 30
            END (255), length 0
        0x0000:  4500 0188 da34 0000 3b11 8fb0 0a21 64fe  E....4..;....!d.
        0x0010:  0a21 9b40 0043 0043 0174 a989 0101 0600  [email protected]......
        0x0020:  0000 16d2 0000 8000 0000 0000 0000 0000  ................
        0x0030:  0000 0000 0a21 64fe 0029 c241 de41 0000  .....!d..).A.A..
        0x0040:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0050:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0090:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00a0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00e0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00f0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0100:  0000 0000 0000 0000 6382 5363 3501 0139  ........c.Sc5..9
        0x0110:  0204 803d 1c00 6369 7363 6f2d 3030 3239  ...=..cisco-0029
        0x0120:  2e63 3234 312e 6465 3431 2d56 6c31 3030  .c241.de41-Vl100
        0x0130:  300c 0b72 6b2d 7372 6e70 3139 6131 3708  0..rk-srnp19a17.
        0x0140:  0106 0f2c 0321 962b 3c08 6369 7363 6f70  ...,.!.+<.ciscop
        0x0150:  6e70 5233 0116 6373 2d30 312d 7665 6e75  npR3..cs-01-venu
        0x0160:  653a 6165 322e 303a 6d67 6d74 0919 0000  e:ae2.0:mgmt....
        0x0170:  0a4c 1404 1249 5242 2d69 7262 2e31 3030  .L...IRB-irb.100
        0x0180:  303a 6165 322e 30ff                      0:ae2.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions