I've done some cisco configurations in the past without much issue. Usually, between books and the internet, I can figure just about any of them out.. but this one is stumping me. Perhaps there's an IOS issue (like I have the wrong one), or perhaps it's pebkac.
I am trying to setup a sample network, or networks. I'm trying to configure a Cisco 26xx router, with one ethernet interface, with 2 sub interfaces on different networks (192.168.2.xx/24 and 192.168.248.xx/24). On each of the subinterfaces I've added the router ip addresses.
On the switch (cisco 2950) I've put the port into trunk mode (same with the main interface on the router). i've added the ports to the appropriate vlans, but I'm getting no connectivity.
If anyone can please advise, and/or provide a link to further resources, I would appreciate it. Here are the devices and configs:
eanut_sw1#sh ver Cisco Internetwork Operating System Software IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2005 by cisco Systems, Inc. Compiled Wed 23-Mar-05 15:33 by yenanh Image text-base: 0x80010000, data-base: 0x80562000
ROM: Bootstrap program is C2950 boot loader
eanut_sw1 uptime is 22 minutes System returned to ROM by power-on System restarted at 07:43:26 CDT Mon Nov 12 2007 System image file is "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"
cisco WS-C2950G-24-EI (RC32300) processor (revision L0) with 21039K bytes of memory. Processor board ID FOC0937Z6KN Last reset from system-reset Running Enhanced Image24 FastEthernet/IEEE 802.3 interface(s) 2 Gigabit Ethernet/IEEE 802.3 interface(s)
32K bytes of flash-simulated non-volatile configuration memory. Base ethernet MAC Address: 00:15:63:73:1B:40 Motherboard assembly number: 73-7280-05 Power supply part number: 34-0965-01 Motherboard serial number: FOC09371F6S Power supply serial number: PHI0931C2MW Model revision number: L0 Motherboard revision number: A0 Model number: WS-C2950G-24-EI System serial number: FOC0937Z6KN Configuration register is 0xF
#sh ver Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-IK9O3S3-M), Version 12.3(10), RELEASE SOFTWARE (fc3) Copyright (c) 1986-2004 by cisco Systems, Inc. Compiled Tue 17-Aug-04 05:11 by kellythw Image text-base: 0x80008098, data-base: 0x819E9FE4
ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)
uptime is 54 minutes System returned to ROM by reload at 11:57:15 CST Tue Mar 2 1993 System image file is "flash:c2600-ik9o3s3-mz.123-10.bin"
This product contains cryptographic features and is subject to United States and local country laws governing import, export, transfer and use. Delivery of Cisco cryptographic products does not imply third-party authority to import, export, distribute or use encryption. Importers, exporters, distributors and users are responsible for compliance with U.S. and local country laws. By using this product you agree to comply with applicable laws and regulations. If you are unable to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
cisco 2610 (MPC860) processor (revision 0x202) with 61440K/4096K bytes of memory. Processor board ID JAD041007W7 (1350106988) M860 processor: part number 0, mask 49 Bridging software. X.25 software, Version 220.127.116.11 Ethernet/IEEE 802.3 interface(s) 1 Serial network interface(s) 32K bytes of non-volatile configuration memory. 16384K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102
Now onto the applicable configs:2950 (the port Im plugging the switch into is fa0/1, so I stopped there):
Current configuration : 2055 bytes ! ! Last configuration change at 08:33:33 CDT Mon Nov 12 2007 ! version 12.1 no service pad service timestamps debug datetime localtime service timestamps log datetime localtime ! hostname eanut_sw1 ! clock timezone CDT -6 ip subnet-zero ! ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! ! ! interface FastEthernet0/1 switchport mode trunk !
Cisco 2510 config:
! interface Ethernet0/0 no ip address no ip unreachables no ip proxy-arp full-duplex no cdp enable ! interface Ethernet0/0.1 encapsulation dot1Q 1 native ip address 192.168.2.99 255.255.255.0 no cdp enable ! interface Ethernet0/0.2 encapsulation dot1Q 2 ip address 192.168.248.99 255.255.255.0 no cdp enable !
with this setup, I cannot ping any devices on either network, and the network cannot ping the .99 addresses assigned on the router. Please advise. Hopefully, I'm just missing something obvious.