cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
561
Views
0
Helpful
9
Replies

LAB:: Cant connect my physical server to my subinterface on router

I'm creating a LAB where I have subinterfaces assigned to VLANs from my router. I have one Windows server 2012 R2 connected to port Fe0/1 on my switch (LTR-SW5) where we have a /30 network assigned to that port. Have IP address 10.0.40.1 and 10.0.40.2, the 10.0.40.1 is on the subinterface from my router while 10.0.40.2 is on my physical server. 

On my server I try to put following for static IP address: 
10.0.40.2  <----- static IP address for the server. 
255.255.255.252 <---- Subnet mask from the router.

10.0.40.1 <----- IP address of my subinterface on the router. 

When I try to ping 10.0.40.1 all I get is destination port unreachable. 
I have turned off all firewall settings on my server so that won't be an issue.
No ACL or firewall is configured or installed in my network, the network is either connected with an ISP.

VLAN10:
description VLAN10
encapsulation dot1Q 10
ip address 10.0.10.1 255.255.255.128
VLAN20:
interface FastEthernet0/0.20
description VLAN20
encapsulation dot1Q 20
ip address 10.0.20.1 255.255.255.224
VLAN30:
interface FastEthernet0/0.30
description VLAN30
encapsulation dot1Q 30
ip address 10.0.30.1 255.255.255.252
VLAN40:
interface FastEthernet0/0.40
description VLAN40
encapsulation dot1Q 40
ip address 10.0.40.1 255.255.255.252
VLAN50:
interface FastEthernet0/0.50
description VLAN50
encapsulation dot1Q 50
ip address 10.0.50.1 255.255.255.224
VLAN60:
interface FastEthernet0/0.60
description VLAN60
encapsulation dot1Q 60
ip address 10.0.60.1 255.255.255.252
VLAN70
Not configured yet. 

The whole point is that the VLAN40 is where my domain controller is, so I cant connect with any users since the test computer cannot find my domain. I have also configured switchport access to the right port, don't worry about that. 

Any idea or suggestion? 

9 Replies 9

Forgot to mention that 0 packet gets lost. 
sent=4 | recived=4 | lost=0 
When i try to ping my subinterface 0/0.40 | 10.0.40.1... 

It only says destination host unreachable. 

Please share the Switch configuration also.

 

Regards,

Deepak kumar

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

Current configuration : 3088 bytes
!
! Last configuration change at 05:55:33 UTC Tue Mar 2 1993
!
version 15.0
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname LTR-SW5
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
system mtu routing 1500
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
!
!
interface FastEthernet0/1
description ### VLAN40 - Server (Domain Controller) ###
switchport access vlan 40
!
interface FastEthernet0/2
description ### VLAN30 - Server (Backup & Fileshare) ###
switchport access vlan 30
!
interface FastEthernet0/3
description ### VLAN60 - Server (Web og FTP) ###
switchport access vlan 60
!
interface FastEthernet0/4
description ### VLAN70 - Guest Network (WIFI) ###
switchport access vlan 70
!
interface FastEthernet0/5
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/6
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/7
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/8
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/9
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/10
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/11
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/12
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/13
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/14
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/15
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/16
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/17
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/18
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/19
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/20
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/21
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/22
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/23
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface FastEthernet0/24
description ### VLAN50 - Contractors ###
switchport access vlan 50
!
interface GigabitEthernet0/1
description ### TRUNK ###
switchport mode trunk
!
interface GigabitEthernet0/2
description ### TRUNK ###
switchport mode trunk
!
interface Vlan1
no ip address
!
ip http server
ip http secure-server
!
!
line con 0
line vty 5 15
!
end

Hello Sebastian,

 

 

I was having the same issue and this is because If you are using router for Intervlan routing , you need to configure router on stick  configuration which  may be  responsible for this issue. Please go through this link

 

https://community.spiceworks.com/how_to/55605-how-to-configure-router-on-a-stick

 

Thanks

Hello Sebastian,

 

 

I was having the same issue and this is because If you are using router for Intervlan routing , you need to configure router on stick  configuration which  may be  responsible for this issue. Please go through this link

 

https://community.spiceworks.com/how_to/55605-how-to-configure-router-on-a-stick

 

Thanks

Thanks for response, i Will try it out tomorrow and respond👌

It did not work...

Hello

is the interface with all the subinterfaces that connects to the switch configured as a trunk?

 

Have you created the L2 vlan?

 

Does the server hace the correct subnet mask and default gateway?

 

What does the arp table show on the server ?

 

res

paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hello,
Afther alot of error searching i figured it out. 
Thanks for response anyway :) 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco