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 configuration and LAG

Status
Not open for further replies.

arijaya

IS-IT--Management
Sep 17, 2013
2
ID
i have 2 extreme switch, summit X460-24p and summit X450a-24t. x460 as core switch and x450 as distribution switch. i config LAG and ospf, and this is my configuration:

X460-24p
-----------------------------------------
create vlan ospf1
configure vlan ospf1 tag 10
configure vlan ospf1 ipaddress 10.10.10.1/24
configure vlan ospf1 add port 1,2 tag

create vlan ospf2
configure vlan ospf2 tag 20
configure vlan ospf2 ipaddress 20.20.20.1/24
configure vlan ospf2 add port 1,2 tag

create ospf area 0.0.0.5
enable ipforwarding
configure ospf add vlan ospf1 area 0.0.0.0
configure ospf add vlan ospf2 area 0.0.0.0
enable ospf

enable sharing 1 grouping 1,2
-------------------------------------------------

X450a-24t
------------------------------------------
create vlan ospf1
configure vlan ospf1 tag 10
configure vlan ospf1 add port 1,2 tag
configure vlan ospf1 add port 3 untag ----> to pc1

create vlan ospf2
configure vlan ospf2 tag 20
configure vlan ospf2 add port 1,2 tag
configure vlan ospf2 add port 4 untag ----> to pc2

enable ipforwarding
enable sharing 1 grouping 1,2
----------------------------------------------------
in pc1 i setting
ip : 10.10.10.2
netmask : 255.255.255.0
gateway : 10.10.10.1

in pc2 i setting
ip : 20.20.20.2
netmask : 255.255.255.0
gateway : 20.20.20.1

i ping 10.10.10.1 to 20.20.20.1 from X460(core switch) and otherwise that work.
and i ping 10.10.10.1 from pc1 that work to,but if i ping 20.20.20.1 from pc1 it didn't work.
what i need to do?

thanks.






 
sory i've error config,and this is my real config :

X460-24p
-----------------------------------------
create vlan ospf1
configure vlan ospf1 tag 10
configure vlan ospf1 ipaddress 10.10.10.1/24
configure vlan ospf1 add port 1,2 tag

create vlan ospf2
configure vlan ospf2 tag 20
configure vlan ospf2 ipaddress 20.20.20.1/24
configure vlan ospf2 add port 1,2 tag

create ospf area 0.0.0.0
enable ipforwarding
configure ospf add vlan ospf1 area 0.0.0.0
configure ospf add vlan ospf2 area 0.0.0.0
enable ospf

enable sharing 1 grouping 1,2
-------------------------------------------------

X450a-24t
------------------------------------------
create vlan ospf1
configure vlan ospf1 tag 10
configure vlan ospf1 add port 1,2 tag
configure vlan ospf1 add port 3 untag ----> to pc1

create vlan ospf2
configure vlan ospf2 tag 20
configure vlan ospf2 add port 1,2 tag
configure vlan ospf2 add port 4 untag ----> to pc2

enable ipforwarding
enable sharing 1 grouping 1,2
----------------------------------------------------
in pc1 i setting
ip : 10.10.10.2
netmask : 255.255.255.0
gateway : 10.10.10.1

in pc2 i setting
ip : 20.20.20.2
netmask : 255.255.255.0
gateway : 20.20.20.1
 
Have you tagged the vlans ospf1 & 2 on the lag? I'm not familiar with these switches in particular, but normally the vlans have to be identified on the logical ports and the physical port config no longer applies. Apparently that isn't preventing anything since you can still ping the gateway. IP forwarding may be causing issues on your 450. The packet with the DA of 10.10.10.1 and 20.20.20.1 will be addressed to the same MAC address, that of 10.10.10.1, when they are coming from pc1. So it should be layer 2 switching all the way to the x460, the IP forwarding enable on the x450 may be interrupting this.

What does the routing table look like? The two networks are directly connected so you assume that they are in there as directly connected, but again with IP forwarding enabled on your x450, it may be interfering.
If that doesn't help, remove the ospf config. You don't need it here as both networks are directly connected and therefore will be in the routing table without ospf. If removing the ospf config allows traffic to pass, then you know where to start tweaking your config.

Hope this helps!
[peace]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top