cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
760
Views
0
Helpful
5
Replies

DNS and Vlan question

OPEN
Level 1
Level 1

I have set dns server and it seems the pc connected to that dns cannot use dns server because of the setting of vlan.

can Someone please check how to connect dns server with pc1.b314.IT to CUR_DNS?

5 Replies 5

Hello @OPEN 

 The problem is that you need to create one more subinterface on the router

GigabitEthernet0/1.150 192.168.150.1

 

And you also need to put the vlan 150 on the trunk between switch CUR_UNI.S1 and router CUR_UNI.GW.

Then you can ping from PC to DNS

 

C:\>

C:\>ping 192.168.150.254

 

Pinging 192.168.150.254 with 32 bytes of data:

 

Reply from 192.168.150.254: bytes=32 time<1ms TTL=127

Reply from 192.168.150.254: bytes=32 time<1ms TTL=127

Reply from 192.168.150.254: bytes=32 time<1ms TTL=127

Reply from 192.168.150.254: bytes=32 time<1ms TTL=127

 

Ping statistics for 192.168.150.254:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

It seems I couldnt follow your way correctly could you check it again please

 

You are still missing the Vlan 150 on the trunk between Switch and Router

 

FlavioMiranda_0-1685311309130.png

Using CLI

S(config)#interface GigabitEthernet0/1

S(config-if)#switchport trunk allowed vlan add 150

S(config-if)#end

 

It must look iike this

!

interface GigabitEthernet0/1

switchport trunk allowed vlan 1,10,20,100-102,150

switchport mode trunk

!

 

I´d like to point out some problems I saw on the topology, although you did not ask for help on this.

 

router´s CUR_UNI.GW interface Gi0/0 has subnet mas /24.

!

interface GigabitEthernet0/0

ip address 209.165.100.30 255.255.255.0

ip nat outside

duplex auto

speed auto

!

And it is connected to ISP router on interface GigabitEthernet0/0 with subnet mask /28

interface GigabitEthernet0/0

ip address 209.165.100.29 255.255.255.240

duplex auto

speed auto

!

I recommend you do fix this. I believe tihs is also happening between ISP and CUR_ENGY.GW.

And Thank you for this I appreciate it

Review Cisco Networking for a $25 gift card