Re: debian server with two public IPs

2023-03-20 Thread fh
https://lartc.org/ will help you. Exactly https://lartc.org/howto/lartc.rpdb.multiple-links.html In my same setup i was add some 'up ip rule add ...' lines into /etc/network/interfaces I finally resolved the issue with the helps of your article and this one:

Re: debian server with two public IPs

2023-03-20 Thread Tim Woodall
On Mon, 20 Mar 2023, f...@dnsbed.com wrote: Hello list, I have a networking question that I can't understand for. I have the Debian 11 host with two ethernet cards. There is public IP and gateway for each ethernet card. (they are public IPs from two different net address blocks.) Say: eth0

Re: debian server with two public IPs

2023-03-20 Thread Jeremy Ardley
On 20/3/23 17:21, to...@tuxteam.de wrote: I get the impression the problem is to send return traffic back out on the interface it came in on. If this is it, then rp_filter, as I proposed elsewhere in this thread, seems like exactly made for this. I'm afraid poking kernel parameters is

Re: debian server with two public IPs

2023-03-20 Thread tomas
On Mon, Mar 20, 2023 at 05:15:57PM +0800, Jeremy Ardley wrote: > > On 20/3/23 16:39, Stanislav Vlasov wrote: > > пн, 20 мар. 2023 г. в 12:33, : > > > > > I have a networking question that I can't understand for. > > > I have the Debian 11 host with two ethernet cards. > > > There is public IP

Re: debian server with two public IPs

2023-03-20 Thread Jeremy Ardley
On 20/3/23 16:39, Stanislav Vlasov wrote: пн, 20 мар. 2023 г. в 12:33, : I have a networking question that I can't understand for. I have the Debian 11 host with two ethernet cards. There is public IP and gateway for each ethernet card. (they are public IPs from two different net address

Re: debian server with two public IPs

2023-03-20 Thread Stanislav Vlasov
пн, 20 мар. 2023 г. в 12:33, : > I have a networking question that I can't understand for. > I have the Debian 11 host with two ethernet cards. > There is public IP and gateway for each ethernet card. > (they are public IPs from two different net address blocks.) [...] > When clients from outside

Re: debian server with two public IPs

2023-03-20 Thread tomas
On Mon, Mar 20, 2023 at 03:23:15PM +0800, f...@dnsbed.com wrote: > Hello list, > > I have a networking question that I can't understand for. > I have the Debian 11 host with two ethernet cards. > There is public IP and gateway for each ethernet card. > (they are public IPs from two different net

debian server with two public IPs

2023-03-20 Thread fh
Hello list, I have a networking question that I can't understand for. I have the Debian 11 host with two ethernet cards. There is public IP and gateway for each ethernet card. (they are public IPs from two different net address blocks.) Say: eth0 ip: 193.36.132.10 gw: 193.36.132.1 eth1 ip: