05-10-2016 12:41 PM - edited 03-08-2019 05:41 AM
To Anyone that can help,
I have an internal server running on an IE 4000 switch that has a website I need to access. The website is at 10.100.30.91. According to the instructions I have to assign the vlan to ip address 10.100.30.90. I also have an outside switch that I need to connect to this new IE4K switch. I have set the incoming port to DHCP, which I can access from the outside. I am struggling to connect the dhcp assigned port of 192.168.5.205 to the internal switch website on the vlan/iox at 10.100.30.91. Here is my current "sh run"
Thanks for any help!
Current configuration : 3242 bytes
!
! Last configuration change at 11:38:38 UTC Mon May 9 2016
! NVRAM config last updated at 09:32:06 UTC Mon May 9 2016
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname IE4K
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$kwqzajFjO7.ajFjA1/ssiZSWPO1
enable password admin
!
username admin privilege 15 password 0 admin pri 15
no aaa new-model
system mtu routing 1500
ip routing
!
!
!
!
!
!
!
!
ptp mode e2etransparent
!
!
crypto pki trustpoint TP-self-signed-2298393984
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2298393984
revocation-check none
rsakeypair TP-self-signed-2298393984
!
!
crypto pki certificate chain TP-self-signed-2298393984
certificate self-signed 01
quit
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
!
alarm profile defaultPort
alarm not-operating
syslog not-operating
notifies not-operating
!
!
!
vlan internal allocation policy ascending
!
lldp run
!
!
!
!
!
interface GigabitEthernet1/1
switchport mode access
!
interface GigabitEthernet1/2
no switchport
ip address dhcp
!
interface GigabitEthernet1/3
!
interface GigabitEthernet1/4
!
interface GigabitEthernet1/13
switchport trunk native vlan 4000
switchport mode trunk
!
interface FastEthernet1/5
!
interface FastEthernet1/6
!
interface FastEthernet1/7
!
interface FastEthernet1/8
!
interface FastEthernet1/9
!
interface FastEthernet1/10
!
interface FastEthernet1/11
!
interface FastEthernet1/12
!
interface Vlan1
no ip address
shutdown
!
iox
host ip address 10.100.30.91 255.255.255.0 vlan 1
host ip default-gateway 10.100.30.1
!
ip default-gateway 192.168.5.1
ip forward-protocol nd
ip http server
ip http secure-server
!
ip route 0.0.0.0 0.0.0.0 10.100.30.1
!
!
!
!
!
line con 0
line vty 0 4
password admin
login
line vty 5 15
password admin
login
!
!
end
05-12-2016 10:38 PM
Not totally sure what your trying to achieve, but I think I can get you on the right track. Your dhcp port, do you need it to be dhcp? if your trying to manage the switch I would suggest you create a dedicated vlan, and give it an ip address. an example would be, "conf t
> interface vlan 100 > ip address 192.168.5.205 255.255.255.0"
I also noticed that you changed the native vlan on your trunk. I would shy away from this, and leave it at default (which is 1) So the trunk link should allow 1,100,and any other device vlan. If your looking to do routing within the switch, you can enable routing, and or do dynamic routing if your switch supports it like ospf. In your case, I would change your IOx vlan to something other than 1 and give it an IP address 10.100.30.1. just like you would for your switch management vlan, because looking at your config, your IOx vlan 1 does not have an interface to go out on vlan 1 currently. Another thought would be to have your switches with L2 trunk uplinks connect upstream to a router that maintains the gateway to all your vlans and does all of your routing at the core. Hope this helps you a bit
John
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