it's possible to rewrite mac address?

Hi,

I have this deployment in my customer’s network

Internal client sends a request to a server without going through BIG-IP (It might be in this way). Default route of this server is BIG-IP self ip.

Server response obviously goes through BIG-IP via VS_FORWARDING but BIG-IP forward the response to fw with its mac address and the fw detects it like IP SPOOFING. It’s possible that BIG-IP send the response with client MAC address?

Thanks in advance

You can view and manipulate the MAC address information with the LINK command.

http://devcentral.f5.com/wiki/default.aspx/iRules.LINK

I need to amend my answer. The LINK::nexthop and Link::lasthop values are read-only.

a vlan group in transparent mode would be an option, as would an exception map in your firewall for layer2 inspection, depending on your product.

so, anything to do via iRules?

I don’t think there is a way to modify the source MAC address from an iRule.

Aaron

Hi Jason,

we have this setup,

server > F5 > Router > client

server originally gateway to Router but we want F5 to be it’s gateway, client now unable to reach the servers.

What could be the possible problem?

IP:

202.126.40.7(server) > 202.126.40.6(F5 floating IP) > Router(202.126.40.3) > 222.126.40.5

are you using vlangroup which Jason suggested?

Hi Nitass,

Not yet.

We’re suspecting that F5 is not broadcasting mac-address of servers on core router:

Do you think vlan-group will solve this problem?as per our net admin, we have to use proxy arp on F5.

sorry i was confused. if you want bigip as server default gateway, i understand server and router should be in different subnet.

anyway, if you do not want to change subnet (server and router are in the same subnet), you may have to use vlangroup. and server default gateway could still be router.

Installing a BIG-IP System without Changing the IP Network

Hi Nitass,

we want to eliminate snat on inbound traffic that’s why we change the server’s default gateway to floating ip of F%.

sorry i could not catch you.

You want to use the BigIP as the router? In that case you’re probably better off having the network between server & f5 on a different subnet from the network between th f5 and the real router.

H

Hi Nitass/Hamish, I attached simple diagram of their set up. Original setup, the core router is the gateway of all the servers and we are using SNAT at VIP to return traffic to F5. The server admin needs to monitor the source ip of the clients connecting to server. We have to eliminate SNAT and make the F5 Self IP as gateway. After changing the gateway of servers to F5 self IP, the servers were not reachable from client but reachable from F5.As per client, need to enable proxy arp in F5 to relay mac-addresses of servers to core router. Thanks!DevCentral - An F5 Technical Community

After changing the gateway of servers to F5 self IP, the servers were not reachable from client but reachable from F5.it works with external client (one which is not in same subnet as the bigip/server), doesn’t it?

As per client, need to enable proxy arp in F5 to relay mac-addresses of servers to core router. why does the core router need to see the server mac address?

Hi Nitass,

External Client can’t access the server itself for management purposes.

As per Net Admin, F5 need to relay mac-addresses of servers in order so that servers can be reachable from external clients.

Hi Nitass,

External Client can’t access the server itself for management purposes.

As per Net Admin, F5 need to relay mac-addresses of servers in order so that servers can be reachable from external clients.

why won’t you create another virtual server on bigip for the server management traffic?

Hi Nitass,

I tried to create any:any virtual server with IP forwarding type but didn’t work.

I tried to create any:any virtual server with IP forwarding type but didn’t work.i guess bigip is deployed as one-armed. so, i think any virutal won’t work. have you tried specific virtual server (ip or port)?