cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1740
Views
0
Helpful
2
Replies

ESXI Vlan with switch

Stormcry
Level 1
Level 1

Hello every one,

i'm currently a student at bachelor and i have some problemes with vlan, the things before i configure it everything was working but since i need it to isolate the differentes subnets on the network. 

actually on the esxi i have 5 subnets

 schema.png

 ESXI+

172.20.3.140 /25

RDS

172.20.3.104 /29

DMZ

172.20.3.112 /29

 

UPDATE VMWARE

172.20.3.96 /29

 

LAN DSI

172.20.3.64 /27

 

As you can see every subnets is on a differents vlan on ESXI, but the problem is even if i put the trunk on the link between the esxi and the switch, i still can't ping the subnets from the switch 

this is my config on the switch :  

Switch Config 3650G

 

vlan 1

name esxi

vlan 2

name RDS

vlan 3

name DMZ

vlan 4 

name UPDATE

vlan 5 

name DSI

 

then i put the differents ports on the switch on trunk

int range gigabytesEthernet 0/10-14 

switchport trunk encapsulation dot1q

switchport mode trunk

switchport trunk allowed vlan 1-5 

 

interface Vlan2

ip address 172.20.3.106 255.255.255.248 

 

routeur config 2621xm

 


!
version 12.2
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
!
hostname RTR-LAN-WAN
!
logging queue-limit 100
logging buffered 16000 debugging
logging console critical
enable secret 5 $1$ISqo$/Y8oEnoiytX6rKjSiP5ex.
!
username acscloud password 7 004C3F0F560B3B1400701B6E1A0C375E
clock timezone GMT 1
aaa new-model
!
!
aaa authentication login default local-case
aaa authentication enable default enable
aaa session-id common
ip subnet-zero
no ip source-route
no ip gratuitous-arps
ip cef
!
!
ip name-server 172.20.3.65
ip name-server 129.20.128.49
ip name-server 8.8.8.8
!
no ip bootp server
!
!
!
!
!
!
!
!
!
!
no voice hpi capture buffer
no voice hpi capture destination
!
!
mta receive maximum-recipients 0
!
!
!
!
interface Loopback0
no ip address
shutdown
!
interface FastEthernet0/0
ip address 172.20.3.254 255.255.255.128
ip nat inside
duplex auto
speed auto
no cdp enable
standby preempt
standby 1 ip 172.20.3.252
standby 1 priority 130
standby 1 track FastEthernet0/0 30
!
interface Serial0/0
no ip address
shutdown
no fair-queue
no cdp enable
!
interface FastEthernet0/1
ip address dhcp
ip verify unicast reverse-path
no ip proxy-arp
ip nat outside
duplex auto
speed auto
no cdp enable
!
interface Serial0/1
no ip address
no cdp enable
!
ip nat inside source list 1 interface FastEthernet0/1 overload
no ip http server
ip classless
!
!
!
access-list 1 permit 172.20.3.96 0.0.0.7
access-list 1 deny 172.20.3.64 0.0.0.31
no cdp run
!
radius-server authorization permit missing Service-Type
call rsvp-sync
!
!
mgcp profile default
!
!
!
dial-peer cor custom
!
!
!
!
line con 0
line aux 0
exec-timeout 0 10
no exec
line vty 0 4
exec-timeout 5 0
line vty 5 15
exec-timeout 5 0
!
!
end

2 Replies 2

Deepak Kumar
VIP Alumni
VIP Alumni

Do I want to ask some question based on your configuration?

1. Where is subnet routing on the router?

2. Is "IP routing" enable on the switch?

3. Is default route is configured on switch toward to the router interface?

 

and 

If your VM machines are not pingable from the switch then share the below details:

1. "Sho ip route" from the switch.

2. VM network interfaces screenshot and VM virtual switch screenshot.

Mostly chance for misconfiguration of your Virtual switch.

 

Regards,

Deepak Kumar

 

 

 

Regards,
Deepak Kumar,
Don't forget to vote and accept the solution if this comment will help you!

Sans titre.png

 

Do I want to ask some question based on your configuration?

1. Where is subnet routing on the router?

i delete it since it was not communicate even in the switch

2. Is "IP routing" enable on the switch?

yes

3. Is default route is configured on switch toward to the router interface?

yes ip default-gateway 172.20.3.252

 

and 

If your VM machines are not pingable from the switch then share the below details:

1. "Sho ip route" from the switch.

i put an ip on vlan 4

ip address 172.20.3.90 /27

i have this 

172.20.0.0/27 is subnneted, 1 subnets

c 172.20.0.3.64 is directly connected, vlan 4

2. VM network interfaces screenshot and VM virtual switch screenshot.

Mostly chance for misconfiguration of your Virtual switch.

 

Regards,

Deepak Kumar

Review Cisco Networking for a $25 gift card