Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ospf inter routing problems

Status
Not open for further replies.

efuenteso

IS-IT--Management
Sep 11, 2007
8
US
hi every one, i got a issue trying to setting up a ospf config betwen 2 summit450 extreme network switches. here is the topology...

Nat
----------
| | { }
| |--------------{To Internet}
| | { }
----------
|192.168.150.151
|
A |192.168.150.1
---------- ---------
| |192.168.150.1 192.168.150.20| server |
| |---------------------------------| tftp |
| | | dhcp |
---------- ---------
|192.168.204.2
|
B |192.168.204.1
----------
| |
| |
| |
----------
|172.18.6.1/30
|
X |172.18.6.2/30
----------
| |
| |
| |
----------

when i try to reach 172.18.6.1/30 (even if this interface is enable as a loopback) from 192.168.150.20 the traceroute shows as follows:


traceroute to 172.18.6.1 (172.18.6.1), 30 hops max, 40 byte packets
1 192.168.150.1 (192.168.150.1) 1.123 ms 0.533 ms 0.323 ms
2 192.168.150.151 (192.168.150.151) 0.320 ms 0.202 ms 0.399 ms
3 goes to internet...


the routing table for router b has these routes:

Ori Destination Gateway Mtr Flags VLAN Duration
#s Default Route 192.168.150.151 1 UG---S-um--
#or 172.18.6.0/30 192.168.204.1 8 UG-D---um--

and the routing table for router a has these ones:

Ori Destination Gateway Mtr Flags VLAN Duration
#o1 Default Route 192.168.204.2 5 UG-D---um--
#d 172.18.6.0/30 172.18.6.1 1 U------um--



my question is why the traceroute to 172.18.6.1/30 goes to the internet when is suposed it has to take the the nexthop 192.168.204.1???


it is someting related with the metric? i been around this problem some extra days.. so any tip would be helpfull

thanks.
 
I think you have your A and B swapped.

Your diagram shows 172.18.6.0/30 directly attached to Switch B, but your description states Switch A.

I will test it out with my switches and let you know what I find.



Evil will always triumph, because good is dumb. - Darth Helmut, Space Balls
 
Thaks a lot , any help is apreciated, and yes i swapped the names of the switches. please if u got some news i would appreciate !!!

Efo
 
efuenteso,

It must be either something related to your environment or maybe there was a bug in the older code??? My
trace routes are going through OSPF as you would expect. I am running the latest code from Extreme on two X450a switches and I do not see the problem.

What switches are you using, what software version and license level?

Check in the CLI:

show version
show license

I had to use slightly different IP addressing because I was too lazy to change my server IP's. One thing I noticed was that you have a cost of 8 going to the 172 network.

No matter what I did, I could not get that cost down to less than 9. Tell me your software version, swtiches and license levels and we'll go from there.

My Test Environment
SwitchA - X450a-48t running 12.0.1.11
SwitchB - X450a-48t running 12.0.1.11

Configuration Diagram:

|--------|
|Crisco |----{To Internet}
|--------|
|
|192.168.101.151
|
|192.168.101.1
|
|--------|192.168.101.1 |--------|
|Switch A|----------------|Server A|
|--------| |--------|
| 192.168.101.2 DHCP/TFTP
|192.168.204.2
|
|192.168.204.1
|
|--------|
|Switch B|
|--------|
|
|192.168.100.1
|
|192.168.100.2
|
|--------|
|Server B|
|--------|

SwitchA Configuration from Factory Default:

config snmp sysname SwitchA
config vlan default delete ports all

create vlan v101
config vlan v101 tag 101
config vlan v101 ipaddress 192.168.101.1/24
disable edp ports 1,48
config vlan v101 add ports 1,48 untag
config port 1 display-string CRISCO
config port 48 display-string SERVER1

create vlan v204
config vlan v204 tag 204
config vlan v204 ipaddress 192.168.204.2/24
config vlan v204 add port 3 untag
config port 3 display-string SWITCHB

enable ipforwarding

config iproute add default 192.168.101.151

config ospf add v204 area 0.0.0.0 link-type point-to-point
enable ospf
enable ospf export static cost 1 type ase-type-1

SwitchB Configuration from Factory Default:

config snmp sysname SwitchB
config vlan default delete ports all

create vlan v100
config vlan v100 tag 100
config vlan v100 ipaddress 192.168.100.1/24
disable edp ports 48
config vlan v100 add ports 48 untag
config port 48 display-string SERVER2

create vlan v204
config vlan v204 tag 204
config vlan v204 ipaddress 192.168.204.1/24
config vlan v204 add port 2 untag
config port 2 display-string SWITCHA

enable ipforwarding

config ospf add v204 area 0.0.0.0 link-type point-to-point
create ospf area 0.0.0.5
config ospf add v100 area 0.0.0.5 link-type point-to-point passive
enable ospf


SwitchA Routing Tables:

show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#s Default Route 192.168.101.151 1 UG---S-um-- v101 0d:0h:50m:5s
#or 192.168.100.0/24 192.168.204.1 9 UG-D---um-- v204 0d:0h:0m:38s
#d 192.168.101.0/24 192.168.101.1 1 U------um-- v101 0d:0h:50m:7s
#d 192.168.204.0/24 192.168.204.2 1 U------um-- v204 0d:0h:50m:6s

SwitchB Routing Tables:

show iproute
Ori Destination Gateway Mtr Flags VLAN Duration
#o1 Default Route 192.168.204.2 5 UG-D---um--- v204 0d:0h:1m:6s
#d 192.168.100.0/24 192.168.100.1 1 U------um--- v100 0d:0h:14m:59s
#d 192.168.204.0/24 192.168.204.1 1 U------um--- v204 0d:0h:14m:14s

My trace route routings from ServerA to ServerB and SwitchB interfaces takes the correct path.

tracert 192.168.100.1

Tracing route to 192.168.100.1 over a mximum of 30 hops

1 1ms <1 ms <1 ms 192.168.101.1
2 <1ms <1 ms <1 ms 192.168.100.1
 

Extremetek,

a lot of thanks for your help

Actually, i got the same traceroute as you got,

From switch B
X450a-24t.2 # traceroute 172.18.6.1 from 192.168.150.1
traceroute to 172.18.6.1, 30 hops max
1 172.18.6.1 7 ms 8 ms 5 ms


but if i try to traceroute 172.18.6.1 from the tftp server, the traceroutes goes to the internet route.

im suspecting about source routing pol. or someting about acl. there is possible issue?

Greetings, efuenteso
 
(I SWEEP THE SWITCHES AGAINT) The trace route is from the switch a

Extremetek,

a lot of thanks for your help

Actually, i got the same traceroute as you got,

From switch A
X450a-24t.2 # traceroute 172.18.6.1 from 192.168.150.1
traceroute to 172.18.6.1, 30 hops max
1 172.18.6.1 7 ms 8 ms 5 ms


but if i try to traceroute 172.18.6.1 from the tftp server, the traceroutes goes to the internet route.

im suspecting about source routing pol. or someting about acl. there is possible issue?

Greetings, efuenteso
 
Are you using Policy Based Routing?

Use "show access-list" to determine if you have any ACL's actively in place.

If you have a policy file, please post the rules so that I can look at it.

It is possible to override the routing table using policy based routing. This maybe why you are seeing the traces that you see. Please confirm.

For example, you could have something in an ACL like this, which would explain the override.

entry redirect_route-source {
if {
source-address 192.168.150.20/32 ;
} then {
redirect 192.168.150.151;
}



 
Hello,

I'been trying to get this acces-list but notingh displayed:


X450a-24t.21 # show access-list
No entry found!
X450a-24t.22 #

I actually attach another netwok to swb but it's the same result. ping to the new network even from the tftp server and noting happens. i check the routing table from the tftp server (linux based) and add the route to the network but still doesnt work

what apart to access-list deny's or permit's i should search??? there is another process i should take in consideration??

why even the SWA having the route to the network doesnt goes to the network interfase given as a next hope?

a lot of Thanks for your comments an help!!!
 
Thanks for everybody for your help, the problem was a corrupted table at the switch a, a hard reboot fix the problem
 
Efuenteso,

I would suggest that you upgrade your software if you are running older code. I am hearing good things about the newer code 12.0.1.11 from other users.

Glad you fixed the issue.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top