Dell S3048-ON VxFlex Network Deployment Guide using EMC Networking 25GbE switc - Page 38
ip route add default via 172.16.34.253 dev eth1
![]() |
View all Dell S3048-ON manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 38 highlights
100 eth1 200 eth2 4. For each interface enable PBR. Below is an example for eth1 and needs to be repeated for eth2. VxFlex-172-16-33-12:~ # ip route flush table eth1 VxFlex-172-16-33-12:~ # ip route add 172.16.34.0/24 dev eth1 proto kernel scope link table eth1 VxFlex-172-16-33-12:~ # ip route add default via 172.16.34.253 dev eth1 table eth1 VxFlex-172-16-33-12:~ # ip rule add from 172.16.34.0/24 lookup eth1 5. Verify the route tables and the IP rules to ensure that a new default route for each interface has been created. VxFlex-172-16-33-12:~ # ip route list table eth1 default via 172.16.34.253 dev eth1 172.16.34.0/24 dev eth1 proto kernel scope link VxFlex-172-16-33-12:~ # ip rule 0: from all lookup local 32763: from 172.16.35.0/24 lookup eth2 32764: from 172.16.34.0/24 lookup eth1 32765: from all lookup main 32766: from all lookup default 6. Repeat the ping test to validate that the solution is working. VxFlex-172-16-33-12:~ # tcpdump -n -i eth2 icmp tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth2, link-type EN10MB (Ethernet), capture size 96 bytes 15:18:25.730704 IP 172.18.35.101 > 172.16.35.12: ICMP echo request, id 36916, seq 674, length 64 15:18:25.730709 IP 172.16.35.12 > 172.18.35.101: ICMP echo reply, id 36916, seq 674, length 64 15:18:26.733704 IP 172.18.35.101 > 172.16.35.12: ICMP echo request, id 36916, seq 675, length 64 15:18:26.733709 IP 172.16.35.12 > 172.18.35.101: ICMP echo reply, id 36916, seq 675, length 64 15:18:27.736662 IP 172.18.35.101 > 172.16.35.12: ICMP echo request, id 36916, seq 676, length 64 15:18:27.736668 IP 172.16.35.12 > 172.18.35.101: ICMP echo reply, id 36916, seq 676, length 64 15:18:28.739532 IP 172.18.35.101 > 172.16.35.12: ICMP echo request, id 36916, seq 677, length 64 15:18:28.739537 IP 172.16.35.12 > 172.18.35.101: ICMP echo reply, id 36916, seq 677, length 64 8 packets captured 8 packets received by filter 0 packets dropped by kernel Note: This example solution is not persistent across reboots but can be automated by the administrator. 38 VxFlex Network Deployment Guide using Dell EMC Networking 25GbE switches and OS10EE
![](/manual_guide/products/dell-powerswitch-s3048on-vxflex-network-deployment-guide-using-emc-networking-25gbe-switches-os10ee-4c6eb70/38.png)