04-26-2018 11:48 AM - edited 03-05-2019 10:21 AM
I am using a Live IP on an interface of L3 switch and configured VLAN with Private series. Internet is working fine on L3 switch but while connecting a laptop on switch with private series it can ping the private gateway and live IP of switch but internet isn't working..
Anyone faced this problem or have solution for the same.
Thanks
04-26-2018 01:07 PM
Hello,
which layer 3 switch do you have ? Post the configuration, and also indicate the IP address of the laptop directly connected to the switch...
04-26-2018 01:47 PM
Using SW-c3750x.
Live IP address on interface 24 and 20.20.0.0 series on interface 12..
04-26-2018 01:55 PM
04-26-2018 02:08 PM
20.30.0.0/24 is not part of the RFC1918 addreses. It would be recommended to use addresses belonging to RFC1918. In your scenario, you need to do NAT to access the internet. If you are not doing NAT on the switch, who is doing it? The upstream router?
Regards,
04-26-2018 02:11 PM
Please check the configuration i had shared which i changed.....
Building configuration...
Current configuration : 1935 bytes
!
! Last configuration change at 04:15:06 UTC Wed Mar 30 2011
! NVRAM config last updated at 03:01:36 UTC Wed Mar 30 2011
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
no service dhcp
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
switch 1 provision ws-c3750x-24
system mtu routing 1500
ip routing
!
!
ip device tracking
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
!
!
!
!
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0
no ip address
no ip route-cache
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
no switchport
ip address 20.30.0.1 255.255.255.0
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
!
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
no switchport
ip address 20.20.0.2 255.255.255.0
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface TenGigabitEthernet1/1/1
!
interface TenGigabitEthernet1/1/2
!
interface Vlan1
no ip address
!
ip forward-protocol nd
ip http server
ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 20.20.0.1
!
!
!
!
!
line con 0
line vty 5 15
!
end
04-26-2018 01:10 PM
I suppose you use NAT, right? Can you please post you NAT configuration.
Regards,
04-26-2018 01:48 PM
I am not using NAT.... just basic configuration only
04-26-2018 02:27 PM
Hello,
what exactly do you mean with 'live IP' ? Is that supposed to be a public IP address ? Which device has IP address 20.20.0.1 (the default gateway of your switch) ?
Post a schematic drawing of your setup...
04-26-2018 02:29 PM
I figured it out and issue has been resolved now.... A route was missing on my router for LAN and after adding that everything is working fine now....
Thanks guys ...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide