DNS and Vlan question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 01:46 PM
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?
- Labels:
-
Server Networking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 02:40 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 02:55 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 03:04 PM
You are still missing the Vlan 150 on the trunk between Switch and Router
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
!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 02:48 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2023 02:55 PM
And Thank you for this I appreciate it
