Vlan 2 and 3 - users unable to get internet access

From: Lucky <iamreallylucky_at_gmail.com>
Date: Fri, 1 Jun 2012 15:27:49 +0800

Hi guys,

Having some issue with the vlan

I have configured the two vlan along with the default vlan.

Default vlan 1 is for our office network. For vlan1 all user get the ip for
the server dhcp.

Vlan 2 and 3 , i have created dhcp pool and i have assigned it to the ports.

I have mentioned the default route to the router - we are using* dlink route
*r and switch is layer 3.

port 48 is the trunk port connected to the normal dlink router.

------
Below is the config,

My issue is that , when i connect the laptop to the vlan 2 or vlan 3 , i am
able to get the ip addres from the pool but the internet doesnt work for
both vlan.

Dns IP i have mentioned is the isp dns ip. we have the dns server but for
vlan 2 and 3 is test environement so i am not sure how to solve this.
IN SIMPLE WORD I NEED THE VLAN 2 AND 3 TO ACCESS INTERNET HOW CAN I ACHIEVE
THIS . thanks you in advacen

hostname test
!
boot-start-marker
boot-end-marker
!
enable secret 5
!
username xxxxxx

!
!
no aaa new-model
system mtu routing 1500
ip routing
ip dhcp excluded-address 192.168.10.1 192.168.10.150
ip dhcp excluded-address 192.168.10.201 192.168.10.254
ip dhcp excluded-address 192.168.20.1 192.168.20.150
ip dhcp excluded-address 192.168.20.201 192.168.20.254
!
ip dhcp pool vlan10
   network 192.168.10.0 255.255.255.0
   default-router 192.168.10.1
   dns-server 165.21.83.88 165.21.100.88
!
ip dhcp pool vlan20
   network 192.168.20.0 255.255.255.0
   default-router 192.168.20.1
   dns-server 192.168.100.254 203.120.90.40 165.21.83.88 165.21.100.88
!
!
ip dhcp snooping vlan 1-30
no ip domain-lookup
!
!
crypto pki trustpoint TP-self-signed-2500391168
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-2500391168
 revocation-check none
 rsakeypair TP-self-signed-2500391168
!
!
crypto pki certificate chain TP-self-signed-2500391168
 certificate self-signed 01
  30820241 308201AA A0030201 02020101 300D0609 2A864886 F70D0101 0405003
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 4365727

!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
-----.
.
.
.
.

!
interface FastEthernet0/13
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/14
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/15
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/16
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/17
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/18
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/19
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/20
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/21
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/22
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/23
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/24
 switchport access vlan 10
 switchport trunk native vlan 10
 switchport mode access
!
interface FastEthernet0/25
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/26
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/27
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/28
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/29
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/30
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/31
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/32
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/33
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/34
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/35
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/36
 switchport access vlan 20
 switchport trunk native vlan 20
 switchport mode access
!
interface FastEthernet0/37

!
interface FastEthernet0/42
!
interface FastEthernet0/43
 switchport mode trunk
!
interface FastEthernet0/44
!
!
interface FastEthernet0/48
 switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
 ip address 192.168.100.1 255.255.255.0
!
interface Vlan10
 ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
 ip address 192.168.20.1 255.255.255.0
!
ip http server
ip http secure-server
ip route 0.0.0.0 0.0.0.0 192.168.100.254
ip sla enable reaction-alerts
!
line con 0
line vty 0 4
 login local
line vty 5 15
 login
!
end

Blogs and organic groups at http://www.ccie.net
Received on Fri Jun 01 2012 - 15:27:49 ART

This archive was generated by hypermail 2.2.0 : Sun Jul 01 2012 - 10:39:52 ART