cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
672
Views
0
Helpful
2
Replies

Two circuit vlan in one-armed config mode

jcarvalh
Level 1
Level 1

Hello.

My client needs to add another vlan to the CSS because he is getting short on ip address. So he decided to add vlan 5, removed the default route to 192.168.12.1 and added two static routes.

However nothing is working now and I can't figure out why.

The initial config was:

!*************************** GLOBAL ***************************

ip route 0.0.0.0 0.0.0.0 192.168.12.1 1

!************************* INTERFACE *************************

interface 1/1

trunk

vlan 12

interface 1/2

admin-shutdown

!************************** CIRCUIT **************************

circuit VLAN12

ip address 192.168.12.22 255.255.255.0

!************************** SERVICE **************************

service www-hux1

port 80

protocol tcp

ip address 192.168.12.24

keepalive type tcp

keepalive frequency 10

keepalive port 80

active

service www-hux2

ip address 192.168.12.25

port 80

protocol tcp

keepalive frequency 10

keepalive port 80

keepalive type tcp

active

!*************************** OWNER ***************************

owner HS

billing-info "ahp"

email-address hugo.soares@ahp.pt

content rule1

protocol tcp

port 80

add service www-hux2

vip address 192.168.12.27

add service www-hux1

balance aca

active

In the new config this is what's different:

!*************************** GLOBAL ***************************

ip route 192.168.5.0 255.255.255.0 192.168.5.1 1

ip route 192.168.12.0 255.255.255.0 192.168.12.1 1

!************************* INTERFACE *************************

interface 1/1

trunk

vlan 5

vlan 12

interface 1/2

admin-shutdown

!************************** CIRCUIT **************************

circuit VLAN5

ip address 192.168.5.20 255.255.255.0

circuit VLAN12

ip address 192.168.12.22 255.255.255.0

**********************************************

Can you see what's wrong in here?

I almost forgot to teel that the default gateway of real servers is the CSS

Thanks,

Joao Carvalho

2 Replies 2

jcarvalh
Level 1
Level 1

Ok. I think I got the problem. The destination of the packet sent by the CSS is a public ip address and none of the static routes matches that.

Now my problem is how can I influence the next hop based on source ip address, in a CSS?

Thanks,

Joao

I put two default gateways:

-ip route 0.0.0.0 0.0.0.0 192.168.12.1

-ip route 0.0.0.0 0.0.0.0 192.168.5.1

I saw this solution in several configs, but I can only ping 192.168.12.1

Any sugestions?

Thanks