Hi Denis,

ok ..I hadnt read your email fully sorry about that...

what are you trying to achieve here?

you have a  172.16.0.249/30 address on em3  which includes
172.16.0.248-127.16.0.251

and then you have a 172.16.0.254/24 which includes the entire range of
 172.16.0.0-172.16.0.255

I think you are making life tougher on your self and who ever has to
diagnose the system after you...
it is private IP space co can you not put them on different networks
and do meat and Potatoes Routing ?

the other thing you need to consider is that you need to turn on proxy
arp (which can be very counter productive and cause other issues  ) so
that your host responds to arp requests for

172.16.0.249 and 172.16.0.250  on em3 (assuming you want hosts on the
network attached to em3 to be able to talk the ips connected to em4)

the other concern I would have is that you are trying to route traffic
to an ip that is a reserved ip  172.16.0.248 is the network address of
em4 according to your configuration...

I hope this helps...




On Sun, 15 Dec 2019 at 20:11, Denis Fondras <open...@ledeuns.net> wrote:
>
> Hi,
>
> I have this setup :
>
> em3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr
>         index 4 priority 0 llprio 3
>         media: Ethernet autoselect (1000baseSX full-duplex)
>         status: active
>         inet6 fe80::aa9:b803:8a7a:ca72%em3 prefixlen 64 scopeid 0x4
>         inet 172.16.0.254 netmask 0xffffff00 broadcast 172.16.0.255
> em4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         lladdr
>         index 5 priority 0 llprio 3
>         media: Ethernet autoselect (1000baseSX full-duplex)
>         status: active
>         inet 172.16.0.249 netmask 0xfffffffc broadcast 172.16.0.251
>         inet6 fe80::29ae:98d:f238:fd68%em4 prefixlen 64 scopeid 0x5
>
> I have a computer with IPv4 address 172.16.0.248 connected to em3.
> When I try to ping it, obviously it goes to em4.
>
> How can I route 172.16.0.248 through em3 ?
>
> I tried with :
> * route add 172.16.0.248/32 172.16.0.254 -iface em3
> * route add 172.16.0.248/32 -llinfo -link -static -iface em3
> but without luck.
>
> Thank you in advance,
> Denis
>


-- 
Kindest regards,
Tom Smyth.

Reply via email to