First, here’s the route -n:
rssCETserver1:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
10.99.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vlan3
10.198.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vlan14
10.16.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vlan12
10.98.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vlan4
10.199.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vlan13
10.6.0.0 0.0.0.0 255.255.0.0 U 0 0 0 vlan2
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
I have two Cisco 2950s set up using VLANs and trunking to my server, I got my hands on an old 2612 but it’s got a token ring IOS on it (REALLY old 2612) so I’m attempting to use the SLES server to act as the router on a stick instead. All VLANs are coming in eth1 but I need the traffic between the 10.99, .98, and .6 networks to get routed. I could set up a purpose server as I’ve seen suggested, but I’m out of lab space and I don’t know if I can get another machine. For the test bed it would be a lot easier if I could just get this server to act as a router.
Here’s a TCPdump from the servers perspective, you can see the protocol unreachable responses to the ping request:
rssCETserver1:~ # tcpdump -i eth1 vlan 4 -v
tcpdump: listening on eth1, link-type EN10MB (Ethernet), capture size 96 bytes
10:30:45.007378 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto UDP (17), length 163) 10.98.1.50.31200 > 225.6.29.63.31200: UDP, length 135
10:30:45.536385 01:00:0c:cc:cc:cd (oui Unknown) > 00:0f:8f:98:e2:8b (oui Unknown) SNAP Unnumbered, ui, Flags [Command], length 50
10:30:46.190401 IP (tos 0x0, ttl 1, id 9973, offset 0, flags [none], proto UDP (17), length 161) 10.98.1.70.31200 > 225.6.29.63.31200: UDP, length 133
10:30:46.990166 IP (tos 0x0, ttl 128, id 37207, offset 0, flags [none], proto ICMP (1), length 60) 10.98.1.30 > 10.99.1.1: ICMP echo request, id 512, seq 38912, length 40
10:30:46.990259 IP (tos 0xc0, ttl 64, id 366, offset 0, flags [none], proto ICMP (1), length 88) rssCETserver1.cet.ibm.com > 10.98.1.30: ICMP 10.99.1.1 protocol 1 unreachable, length 68
IP (tos 0x0, ttl 127, id 37207, offset 0, flags [none], proto ICMP (1), length 60) 10.98.1.30 > 10.99.1.1: ICMP echo request, id 512, seq 38912, length 40
10:30:47.540577 01:00:0c:cc:cc:cd (oui Unknown) > 00:0f:8f:98:e2:8b (oui Unknown) SNAP Unnumbered, ui, Flags [Command], length 50
10:30:47.907704 IP (tos 0x0, ttl 1, id 10893, offset 0, flags [none], proto UDP (17), length 167) 10.98.1.31.31200 > 225.6.29.63.31200: UDP, length 139
10:30:47.979833 IP (tos 0x0, ttl 128, id 37208, offset 0, flags [none], proto ICMP (1), length 60) 10.98.1.30 > 10.99.1.1: ICMP echo request, id 512, seq 39168, length 40
10:30:47.979901 IP (tos 0xc0, ttl 64, id 367, offset 0, flags [none], proto ICMP (1), length 88) rssCETserver1.cet.ibm.com > 10.98.1.30: ICMP 10.99.1.1 protocol 1 unreachable, length 68
IP (tos 0x0, ttl 127, id 37208, offset 0, flags [none], proto ICMP (1), length 60) 10.98.1.30 > 10.99.1.1: ICMP echo request, id 512, seq 39168, length 40
10:30:48.377415 IP (tos 0x0, ttl 2, id 35385, offset 0, flags [none], proto UDP (17), length 165) 10.98.1.40.31200 > 225.6.29.63.31200: UDP, length 137
10:30:48.839440 IP (tos 0x0, ttl 1, id 37211, offset 0, flags [none], proto UDP (17), length 163) 10.98.1.30.31200 > 225.6.29.63.31200: UDP, length 135
10:30:48.979935 IP (tos 0x0, ttl 128, id 37212, offset 0, flags [none], proto ICMP (1), length 60) 10.98.1.30 > 10.99.1.1: ICMP echo request, id 512, seq 39424, length 40
10:30:48.979989 IP (tos 0xc0, ttl 64, id 368, offset 0, flags [none], proto ICMP (1), length 88) rssCETserver1.cet.ibm.com > 10.98.1.30: ICMP 10.99.1.1 protocol 1 unreachable, length 68
IP (tos 0x0, ttl 127, id 37212, offset 0, flags [none], proto ICMP (1), length 60) 10.98.1.30 > 10.99.1.1: ICMP echo request, id 512, seq 39424, length 40
10:30:49.544794 01:00:0c:cc:cc:cd (oui Unknown) > 00:0f:8f:98:e2:8b (oui Unknown) SNAP Unnumbered, ui, Flags [Command], length 50
10:30:49.980059 IP (tos 0x0, ttl 128, id 37213, offset 0, flags [none], proto ICMP (1), length 60) 10.98.1.30 > 10.99.1.1: ICMP echo request, id 512, seq 39680, length 40
10:30:49.980119 IP (tos 0xc0, ttl 64, id 369, offset 0, flags [none], proto ICMP (1), length 88) rssCETserver1.cet.ibm.com > 10.98.1.30: ICMP 10.99.1.1 protocol 1 unreachable, length 68
IP (tos 0x0, ttl 127, id 37213, offset 0, flags [none], proto ICMP (1), length 60) 10.98.1.30 > 10.99.1.1: ICMP echo request, id 512, seq 39680, length 40
10:30:50.007350 IP (tos 0x0, ttl 1, id 0, offset 0, flags [DF], proto UDP (17), length 163) 10.98.1.50.31200 > 225.6.29.63.31200: UDP, length 135
^C
17 packets captured
17 packets received by filter
0 packets dropped by kernel
rssCETserver1:~ #