10-28-2021 01:18 AM
Hello I am trying to setup an ICX 7150 to allow me to have multiple vlans share the same dhcp server on one vlan and the internet connection on the default vlan
However my very simple config seems unable to route from vlan 2 across to the default vlan
I have port 1/2/1 configured with ip address 192.168.50.15/24
My router is ip 192.168.50 254
I have the ip address range 10.172.2.1/24 attached to virtual interface VE 2
DCHP on 10.172.2.0 and that works if i connect to a untagged switchport
But I am unable to access the internet from any device with a 10.172.2.x address, default gateway is set to 10.172.2.1
Any advice greatly received and config shown below
ICX7150-C12 Router#sho run
Current configuration:
!
ver 08.0.95dT213
!
stack unit 1
module 1 icx7150-c12-poe-port-management-module
module 2 icx7150-2-copper-port-2g-module
module 3 icx7150-2-sfp-plus-port-20g-module
stack-port 1/3/1
stack-port 1/3/2
!
!
global-stp
!
!
!
vlan 1 name DEFAULT-VLAN by port
spanning-tree
!
vlan 2 name server by port
untagged ethe 1/1/1 to 1/1/4
router-interface ve 2
!
aaa authentication web-server default local
aaa authentication login default local
boot sys fl sec
console timeout 30
enable aaa console
ip dhcp-client disable
ip dhcp-server enable
!
ip dhcp-server pool server
lease 0 0 30
network 10.172.2.0 255.255.255.0
option 3 ip 10.172.2.1
option 5 ip 8.8.8.8
deploy
!
ip default-network 192.168.50.0/24
ip dns server-address 192.168.50.254
ip route 0.0.0.0/0 192.168.50.254
ip route 10.172.2.0/24 192.168.50.254
ip router-id 192.168.50.15
!
telnet timeout 10
no telnet server
username super password .....
username mgladmin password .....
!
!
password-change any
!
!
!
!
manager registrar
34.89.230.72 34.89.230.73
manager active-list 34.89.230.73 34.89.230.72
!
manager port-list 987
!
!
router ospf
area 0.0.0.0
!
!
!
!
!
!
!
!
interface ethernet 1/2/1
ip address 192.168.50.15 255.255.255.0
no ip dhcp-client enable
!
interface ve 2
port-name Server
ip address 10.172.2.1 255.255.255.0
!
!
ip ssh timeout 30
ip ssh idle-time 10
!
end
10-28-2021 01:29 AM
hello David,
quick hint, not sure about it, but can you remove
"ip route 10.172.2.0/24 192.168.50.254"
and give a "show ip route" please
10-28-2021 01:37 AM
Hi Vincent thanks for the fast response, I have removed the ip route and this is the result of the Sho Ip route
ICX7150-C12 Router(config)#sho ip route
Total number of IP routes: 3
Type Codes - B:BGP D:Connected O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP Codes - i:iBGP e:eBGP
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
STATIC Codes - v:Inter-VRF
Destination Gateway Port Cost Type Uptime
1 0.0.0.0/0 192.168.50.254 e 1/2/1 1/1 S 1h2m
2 10.172.2.0/24 DIRECT ve 2 0/0 D 2m25s
3 192.168.50.0/24 DIRECT e 1/2/1 0/0 D 1h2m
Thank You
10-28-2021 01:47 AM
Is your 10.172.2.0 network is known by the 192.168.50.254 router ?
10-28-2021 01:51 AM
and also try from the ICX these 2 commands:
"ping 8.8.8.8 source 192.168.50.15"
"ping 8.8.8.8 source 10.172.2.1"