no destination for baremetall server eve-ng -- no ip address dhcp

Before posting something, READ the changelog, WATCH the videos, howto and provide following:
Your install is: Bare metal, ESXi, what CPU model, RAM, HD, what EVE version you have, output of the uname -a and any other info that might help us faster.

Moderator: mike

Locked
yuzhaninaa
Posts: 7
Joined: Sun Apr 02, 2017 4:08 am

no destination for baremetall server eve-ng -- no ip address dhcp

Post by yuzhaninaa » Mon Jul 23, 2018 6:56 am

Hi
I have baremetall
eth0 - get the address on dhcp
created a schema --- vpc is connected to cloud0
when typing the command ip dhcp or dhcp

VPCS> ip dhcp
DDD
Can't find dhcp server


12:07:19.714831 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:50:79:66:68:01 (oui Unknown), length 364
12:07:19.715681 IP srv.isogd.local.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 300
12:07:20.714925 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:50:79:66:68:01 (oui Unknown), length 364
12:07:20.715518 IP srv.isogd.local.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 300
12:07:23.715014 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 00:50:79:66:68:01 (oui Unknown), length 364
12:07:23.715566 IP srv.isogd.local.bootps > 255.255.255.255.bootpc: BOOTP/DHCP, Reply, length 300

root@eve-ng:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:21:85:95:70:dd
inet6 addr: fe80::221:85ff:fe95:70dd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:109322 errors:0 dropped:239 overruns:0 frame:0
TX packets:6105 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:14017374 (14.0 MB) TX bytes:1525359 (1.5 MB)

pnet0 Link encap:Ethernet HWaddr 00:21:85:95:70:dd
inet addr:192.168.110.95 Bcast:192.168.110.255 Mask:255.255.255.0
inet6 addr: fe80::221:85ff:fe95:70dd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:102971 errors:0 dropped:0 overruns:0 frame:0
TX packets:6014 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12094839 (12.0 MB) TX bytes:1517973 (1.5 MB)

vunl0_1_0 Link encap:Ethernet HWaddr 4a:c7:e1:8f:b3:8c
UP BROADCAST MULTICAST MTU:9000 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:9945 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2560 (2.5 KB) TX bytes:789319 (789.3 KB)

where I was mistaken
Alehander Yuzhanin

yuzhaninaa
Posts: 7
Joined: Sun Apr 02, 2017 4:08 am

Re: no destination for baremetall server eve-ng -- no ip address dhcp

Post by yuzhaninaa » Mon Jul 23, 2018 8:39 am

there is no such mac-address

VPCS> ip dhcp
DD D
Can't find dhcp server

VPCS>


root@eve-ng:~# dhcpdump -i eth0 | more


root@eve-ng:~#
root@eve-ng:~# dhcpdump -i eth0 | more
TIME: 2018-07-23 11:18:09.574
IP: 0.0.0.0 (0:50:79:66:68:1) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 77bd4511
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:50:79:66:68:01:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 12 ( 5) Host name VPCS1
OPTION: 61 ( 7) Client-identifier 01:00:50:79:66:68:01
---------------------------------------------------------------------------

TIME: 2018-07-23 11:18:09.574
IP: 192.168.110.1 (fc:75:16:56:ea:48) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 77bd4511
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 192.168.110.50
SIADDR: 192.168.110.1
GIADDR: 0.0.0.0
CHADDR: 00:50:79:66:68:01:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)
OPTION: 1 ( 4) Subnet mask 255.255.255.0
OPTION: 58 ( 4) T1 43156800 (71w2d12h)
OPTION: 59 ( 4) T2 75524400 (124w6d3h)
OPTION: 51 ( 4) IP address leasetime 86313600 (142w5d)
OPTION: 54 ( 4) Server identifier 192.168.110.1
---------------------------------------------------------------------------

TIME: 2018-07-23 11:18:10.614
IP: 0.0.0.0 (0:50:79:66:68:1) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 77bd4511
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: 00:50:79:66:68:01:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 12 ( 5) Host name VPCS1
OPTION: 61 ( 7) Client-identifier 01:00:50:79:66:68:01
---------------------------------------------------------------------------

TIME: 2018-07-23 11:18:10.614
IP: 192.168.110.1 (fc:75:16:56:ea:48) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
OP: 2 (BOOTPREPLY)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 77bd4511
SECS: 0
FLAGS: 0
CIADDR: 0.0.0.0
YIADDR: 192.168.110.50
SIADDR: 192.168.110.1
GIADDR: 0.0.0.0
CHADDR: 00:50:79:66:68:01:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 2 (DHCPOFFER)
OPTION: 1 ( 4) Subnet mask 255.255.255.0
OPTION: 58 ( 4) T1 43156800 (71w2d12h)
OPTION: 59 ( 4) T2 75524400 (124w6d3h)
OPTION: 51 ( 4) IP address leasetime 86313600 (142w5d)
OPTION: 54 ( 4) Server identifier 192.168.110.1
---------------------------------------------------------------------------

Uldis (UD)
Posts: 5180
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: no destination for baremetall server eve-ng -- no ip address dhcp

Post by Uldis (UD) » Tue Jul 24, 2018 10:38 am

VPCS has issues for that.
Use any other node like router must be ok

yuzhaninaa
Posts: 7
Joined: Sun Apr 02, 2017 4:08 am

Re: no destination for baremetall server eve-ng -- no ip address dhcp

Post by yuzhaninaa » Wed Jul 25, 2018 5:58 am

hello UD
assembled circuit R3726 - connected - Cloud0 (pnet0)
NO response from DHCP server
in GNS3 - this scheme WORKS
without a docker also does not work

root@eve-ng:~# uname -a
Linux eve-ng 4.9.40-eve-ng-ukms-2+ #4 SMP Fri Sep 15 02:07:02 CEST 2017 x86_64 x86_64 x86_64 GNU/Linux
root@eve-ng:~#

root@eve-ng:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
iface eth0 inet manual
auto pnet0
iface pnet0 inet dhcp
bridge_ports eth0
bridge_stp off

pnet0 Link encap:Ethernet HWaddr 00:21:85:95:70:dd
inet addr:192.168.110.95 Bcast:192.168.110.255 Mask:255.255.255.0
inet6 addr: fe80::221:85ff:fe95:70dd/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52645 errors:0 dropped:0 overruns:0 frame:0
TX packets:20828 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:8643477 (8.6 MB) TX bytes:3509009 (3.5 MB)

vunl0_1_0 Link encap:Ethernet HWaddr aa:d8:34:17:5b:9f
UP BROADCAST RUNNING MULTICAST MTU:9000 Metric:1
RX packets:324 errors:0 dropped:0 overruns:0 frame:0
TX packets:29083 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:89008 (89.0 KB) TX bytes:1824297 (1.8 MB)


root@eve-ng:~# brctl show
bridge name bridge id STP enabled interfaces
docker0 8000.0242ca2c6778 no
pnet0 8000.0021859570dd no eth0
vunl0_1_0
pnet1 8000.000000000000 no
pnet2 8000.000000000000 no
pnet3 8000.000000000000 no
pnet4 8000.000000000000 no
pnet5 8000.000000000000 no
pnet6 8000.000000000000 no
pnet7 8000.000000000000 no
pnet8 8000.000000000000 no
pnet9 8000.000000000000 no
root@eve-ng:~#



R3725-1#sh run int fastEthernet 0/0
Building configuration...

Current configuration : 75 bytes
!
interface FastEthernet0/0
ip address dhcp
duplex auto
speed auto
end

R3725-1#
R3725-1#sh int fastEthernet 0/0
FastEthernet0/0 is up, line protocol is up
Hardware is Gt96k FE, address is c201.20cd.0000 (bia c201.20cd.0000)
Internet address will be negotiated using DHCP
MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Half-duplex, 10Mb/s, 100BaseTX/FX
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:06, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 5000 bits/sec, 10 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
1446 packets input, 86760 bytes
Received 1446 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog
0 input packets with dribble condition detected
30 packets output, 9936 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets


R3725-1#sh deb
Generic IP:
IP packet debugging is on


R3725-1(config)#int fastEthernet 0/0
R3725-1(config-if)#

R3725-1(config-if)#shutdown
R3725-1(config-if)#
*Mar 1 00:28:15.351: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar 1 00:28:16.351: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
R3725-1(config-if)#no shutdown
R3725-1(config-if)#
*Mar 1 00:28:26.039: IP: s=0.0.0.0 (local), d=255.255.255.255 (FastEthernet0/0), len 604, sending broad/multicast
*Mar 1 00:28:27.999: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:28:28.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
*Mar 1 00:28:29.571: IP: s=0.0.0.0 (local), d=255.255.255.255 (FastEthernet0/0), len 604, sending broad/multicast
*Mar 1 00:28:33.571: IP: s=0.0.0.0 (local), d=255.255.255.255 (FastEthernet0/0), len 604, sending broad/multicast

root@eve-ng:~# dhcpdump -i pnet0 | more


TIME: 2018-07-25 08:17:15.714
IP: 0.0.0.0 (c2:1:20:cd:0:0) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
OP: 1 (BOOTPREQUEST)
HTYPE: 1 (Ethernet)
HLEN: 6
HOPS: 0
XID: 00001ca9
SECS: 0
FLAGS: 7f80
CIADDR: 0.0.0.0
YIADDR: 0.0.0.0
SIADDR: 0.0.0.0
GIADDR: 0.0.0.0
CHADDR: c2:01:20:cd:00:00:00:00:00:00:00:00:00:00:00:00
SNAME: .
FNAME: .
OPTION: 53 ( 1) DHCP message type 1 (DHCPDISCOVER)
OPTION: 57 ( 2) Maximum DHCP message size 1152
OPTION: 61 ( 27) Client-identifier 00:63:69:73:63:6f:2d:63:32:30:31:2e:
32:30:63:64:2e:30:30:30:30:2d:46:61:30:2f:30
OPTION: 12 ( 7) Host name R3725-1
OPTION: 55 ( 8) Parameter Request List 1 (Subnet mask)
6 (DNS server)
15 (Domainname)
44 (NetBIOS name server)
3 (Routers)
33 (Static route)
150 (???)
43 (Vendor specific info)

---------------------------------------------------------------------------
root@eve-ng:~# dhcpdump -i pnet0 | grep c2:01:20:cd:
CHADDR: c2:01:20:cd:00:00:00:00:00:00:00:00:00:00:00:00
CHADDR: c2:01:20:cd:00:00:00:00:00:00:00:00:00:00:00:00
CHADDR: c2:01:20:cd:00:00:00:00:00:00:00:00:00:00:00:00
CHADDR: c2:01:20:cd:00:00:00:00:00:00:00:00:00:00:00:00
CHADDR: c2:01:20:cd:00:00:00:00:00:00:00:00:00:00:00:00
CHADDR: c2:01:20:cd:00:00:00:00:00:00:00:00:00:00:00:00

root@eve-ng:~# dhcpdump -i eth0 | grep c2:01:20:cd:
no no


---------------------------------------------------------------------------

root@eve-ng:~# dhcpdump -i pnet0 | grep c2:1:20:cd:0:0
IP: 0.0.0.0 (c2:1:20:cd:0:0) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
IP: 0.0.0.0 (c2:1:20:cd:0:0) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)
IP: 0.0.0.0 (c2:1:20:cd:0:0) > 255.255.255.255 (ff:ff:ff:ff:ff:ff)

root@eve-ng:~# dhcpdump -i eth0 | grep c2:1:20:cd:0:0
no no

yuzhaninaa
Posts: 7
Joined: Sun Apr 02, 2017 4:08 am

Re: no destination for baremetall server eve-ng -- no ip address dhcp

Post by yuzhaninaa » Wed Jul 25, 2018 8:34 am

FOR STATIC

!
interface FastEthernet0/0
ip address 192.168.110.252 255.255.255.0
duplex auto
speed auto
!


R3725-1(config)#int fastEthernet 0/0

R3725-1(config-if)#shutdown
R3725-1(config-if)#
*Mar 1 02:43:19.575: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar 1 02:43:20.575: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down

R3725-1(config-if)#do sh arp

R3725-1(config-if)#no shutdown
R3725-1(config-if)#
*Mar 1 02:43:40.683: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 02:43:41.683: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3725-1(config-if)#do sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.110.252 - c201.20cd.0000 ARPA FastEthernet0/0
R3725-1(config-if)#

C:\Users\ЮжанинАА>ping 192.168.110.252

Обмен пакетами с 192.168.110.252 по с 32 байтами данных:
Превышен интервал ожидания для запроса.
Превышен интервал ожидания для запроса.

C:\Users\ЮжанинАА>arp -a

Интерфейс: 192.168.110.87 --- 0xb

192.168.110.252 c2-01-20-cd-00-00 динамический

root@eve-ng://# tcpdump -i eth0 -vvv -n host 192.168.110.252
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes

11:18:45.487372 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.110.252 is-at c2:01:20:cd:00:00, length 46
11:18:45.497760 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.110.252 is-at c2:01:20:cd:00:00, length 46

11:22:23.404717 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.110.252 tell 192.168.110.87, length 46
11:22:23.410782 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.110.252 is-at c2:01:20:cd:00:00, length 46
11:22:23.410905 IP (tos 0x0, ttl 128, id 26494, offset 0, flags [none], proto ICMP (1), length 60)
192.168.110.87 > 192.168.110.252: ICMP echo request, id 1, seq 643, length 40
11:22:28.154199 IP (tos 0x0, ttl 128, id 26502, offset 0, flags [none], proto ICMP (1), length 60)
192.168.110.87 > 192.168.110.252: ICMP echo request, id 1, seq 644, length 40


root@eve-ng:~# tcpdump -i pnet0 -vvv -n host 192.168.110.252
tcpdump: listening on pnet0, link-type EN10MB (Ethernet), capture size 262144 bytes

11:18:45.487356 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.110.252 is-at c2:01:20:cd:00:00, length 46
11:18:45.497736 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.110.252 is-at c2:01:20:cd:00:00, length 46
11:22:23.404717 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.110.252 tell 192.168.110.87, length 46
11:22:23.410770 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.110.252 is-at c2:01:20:cd:00:00, length 46
11:22:23.410905 IP (tos 0x0, ttl 128, id 26494, offset 0, flags [none], proto ICMP (1), length 60)
192.168.110.87 > 192.168.110.252: ICMP echo request, id 1, seq 643, length 40
11:22:28.154199 IP (tos 0x0, ttl 128, id 26502, offset 0, flags [none], proto ICMP (1), length 60)
192.168.110.87 > 192.168.110.252: ICMP echo request, id 1, seq 644, length 40

R3725-1(config-if)#do sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.110.87 0 1c6f.65a2.c153 ARPA FastEthernet0/0
Internet 192.168.110.252 - c201.20cd.0000 ARPA FastEthernet0/0
R3725-1(config-if)#

R3725-1(config-if)#do ping 192.168.110.87

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.110.87, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R3725-1(config-if)#

eve-ng:~# tcpdump -i pnet0 -vvv -n host 192.168.110.252
tcpdump: listening on pnet0, link-type EN10MB (Ethernet), capture size 262144 bytes
11:31:42.828935 IP (tos 0x0, ttl 255, id 90, offset 0, flags [none], proto ICMP (1), length 100)
192.168.110.252 > 192.168.110.87: ICMP echo request, id 18, seq 0, length 80
11:31:44.841186 IP (tos 0x0, ttl 255, id 91, offset 0, flags [none], proto ICMP (1), length 100)

root@eve-ng://# tcpdump -i eth0 -vvv -n host 192.168.110.252
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
no no no

Uldis (UD)
Posts: 5180
Joined: Wed Mar 15, 2017 4:44 pm
Location: London
Contact:

Re: no destination for baremetall server eve-ng -- no ip address dhcp

Post by Uldis (UD) » Wed Jul 25, 2018 6:08 pm

nu vy esche na kitaiskom linux sdelaite eto...


topic closed

Uldis

Locked