Unsolved
This post is more than 5 years old
14 Posts
0
2266
April 20th, 2018 07:00
X1018 dhcp relay.
Bom dia, estou tento dificuldades com o sw da dell o x1018, meu cenário é este:
Servers vlan 1
10.0.3.0/28
Mask
255.255.255.240
Hosts 14
10.0.3.1 - 10.0.3.14
Estacoes vlan 2
10.0.4.0/26
Mask
255.255.255.192
Hosts 62
10.0.4.1 - 10.0.4.62
Uso o esxi 6.5 na porta 2 do sw, e esta como trunk e vlan 2 T.
Ja configurei o dhcrp relay no sw, porém as estacoes n conseguem pegar IP.
Devo fazer alguma outra configuracao no sw?
OBS: Testei por um vm e coloquei a vlan 2 no virtual switch no esxi e funcionou, pegou IP.


elviojr
14 Posts
0
April 24th, 2018 09:00
Is the ESXi server configured to send tagged packets?
yes, is configured to send T packets.
Where does the DHCP server reside on the network?
Is a windows server VM on vlan 1 and is dhcp server.
Vlan 2 is computers workstation.
I did the test with a VM windows and get normal IP by DHCP server on VLAN 2. O my switch I configured dhcp relay and point to dhcp server.
elviojr
14 Posts
0
April 24th, 2018 10:00
The workstations that are not able to obtain an IP address, are they also virtual machines?
Yes, is windows vm, only for test...and get ip from dhcp server.
I tested on standalone windows direct plugged on switch and nothing get ip..today I will test with static ip and ping the dhcp server..
I'll post here.
elviojr
14 Posts
0
April 24th, 2018 11:00
Sure.
console#shpw run show run
config-file-header
v3.0.0.95 / RASTUTE_800_026
CLI v1.0
set system mode L2+
policy-based-vlans inactive
@
vlan database
vlan 2
exit
voice vlan oui-table add 000181 Nortel__________________
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 001049 Shoretel________________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00907a Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
ip dhcp relay address 10.0.3.3
ip dhcp relay enable
wrr-queue cos-map 4 0
wrr-queue cos-map 4 1
More: , Quit: q or CTRL+Z, One line:
wrr-queue cos-map 3 2
wrr-queue cos-map 2 3
wrr-queue cos-map 1 5
wrr-queue cos-map 2 6
wrr-queue cos-map 2 7
qos map dscp-queue 0 to 4
qos map dscp-queue 1 to 4
qos map dscp-queue 2 to 4
qos map dscp-queue 3 to 4
qos map dscp-queue 4 to 4
qos map dscp-queue 5 to 4
qos map dscp-queue 6 to 4
qos map dscp-queue 7 to 4
qos map dscp-queue 8 to 4
qos map dscp-queue 9 to 4
qos map dscp-queue 10 to 4
qos map dscp-queue 11 to 4
qos map dscp-queue 12 to 4
qos map dscp-queue 13 to 4
qos map dscp-queue 14 to 4
qos map dscp-queue 15 to 4
qos map dscp-queue 16 to 3
More: , Quit: q or CTRL+Z, One line:
qos map dscp-queue 17 to 3
qos map dscp-queue 18 to 3
qos map dscp-queue 19 to 3
qos map dscp-queue 20 to 3
qos map dscp-queue 21 to 3
qos map dscp-queue 22 to 3
qos map dscp-queue 23 to 3
qos map dscp-queue 40 to 1
qos map dscp-queue 41 to 1
qos map dscp-queue 42 to 1
qos map dscp-queue 43 to 1
qos map dscp-queue 44 to 1
qos map dscp-queue 45 to 1
qos map dscp-queue 46 to 1
qos map dscp-queue 47 to 1
qos map dscp-queue 48 to 2
qos map dscp-queue 49 to 2
qos map dscp-queue 50 to 2
qos map dscp-queue 51 to 2
qos map dscp-queue 52 to 2
qos map dscp-queue 53 to 2
qos map dscp-queue 54 to 2
More: , Quit: q or CTRL+Z, One line:
qos map dscp-queue 55 to 2
qos map dscp-queue 56 to 2
qos map dscp-queue 57 to 2
qos map dscp-queue 58 to 2
qos map dscp-queue 59 to 2
qos map dscp-queue 60 to 2
qos map dscp-queue 61 to 2
qos map dscp-queue 62 to 2
qos map dscp-queue 63 to 2
qos map policed-dscp 24 to 0
qos map policed-dscp 26 to 0
qos map policed-dscp 46 to 0
ip access-list extended permit-all
permit ip any any ace-priority 20
exit
ip access-list extended voip-data
permit ip any any dscp 46 ace-priority 20
exit
ip access-list extended voip-control
permit ip any any dscp 24 ace-priority 20
permit ip any any dscp 26 ace-priority 40
exit
More: , Quit: q or CTRL+Z, One line:
priority-queue out num-of-queues 0
class-map general-class match-any
match access-group permit-all
exit
class-map switch-class match-any
match access-group permit-all
exit
class-map router-class match-any
match access-group permit-all
exit
class-map voice-class match-any
match access-group permit-all
exit
class-map VoIP-data-class match-any
match access-group voip-data
exit
class-map VoIP-Control-class match-any
match access-group voip-control
exit
policy-map general-map
class general-class
set dscp 7
More: , Quit: q or CTRL+Z, One line:
elviojr
14 Posts
0
April 24th, 2018 13:00
If the workstations is a standalone workstation, it will need to connect to an interfaces that is configured as untagged for VLAN 2.
I tested and not get ip..i'll put static ip today for testing ping.
If the client requesting the address is a VM, then the Vswitch will need to be configured to place the VM traffic into VLAN 2.
In vm works great, get ip from dhcp.
I don't use ACL.
Later I put result here.
elviojr
14 Posts
0
April 24th, 2018 18:00
Hi, I did the test, I put static ip on standalone windows and works, I can ping dhcp server, use internet, but didn't get ip from dhcp.
I don't know why.
elviojr
14 Posts
0
April 27th, 2018 08:00
I make the test with wireshark, but when I change workstation port on switch to vlan 2, dhcp doesn't work...I don't know why. I have other switch like HP work great.
elviojr
14 Posts
0
April 27th, 2018 09:00
When I change the workstation port on switch to vlan 2, I didn't see dchp request any more.
elviojr
14 Posts
0
April 27th, 2018 16:00
-It is not relayed to servers on the client’s VLAN.
-Packets that have option-82 information, added by other devices, are discarded.
-It can be enabled only on a VLAN/Port/LAG that has an IP address defined on it.
elviojr
14 Posts
0
May 2nd, 2018 04:00
Do you have a nonVM workstation/server you could configure as a test DHCP server?
I don't have nonVM to test!
I will reboot the switch again for testing...