Re: [CentOS] routing with 2 public ips

2015-12-27 Thread Anthony K
On 26/12/15 06:44, Joey wrote: Hello, i have a server with 2 public ips on 2 devices. This is most likely what you are after: Routing for multiple uplinks/providers - http://lartc.org/howto/lartc.rpdb.multiple-links.html Cheers, ak. ___ CentOS

Re: [CentOS] routing with 2 public ips

2015-12-27 Thread Gordon Messmer
On 12/26/2015 08:16 PM, Eliezer Croitoru wrote: you could use some iptables rules to mark a connection for example by the source MAC address per new connections which would be a specific router and by that mark the connection, then in the routing level decide which default gateway to use for

[CentOS] hostname service?

2015-12-27 Thread Nicholas Geovanis
On CentOS 7, I find in /var/log/messages several times daily messages "localhost systemd: Started Hostname Service.". However I can't seem to find such a service using the systemctl command. What is the "Hostname Service", what does it do and why is it being restarted frequently? Many

Re: [CentOS] routing with 2 public ips

2015-12-27 Thread Eliezer Croitoru
On 27/12/2015 22:49, Gordon Messmer wrote: While that's true, you still have to select the default route using "ip rule". And since you can do that using the source address for outgoing packets, there's no reason to mark them. It's completely redundant. Can you match the MAC address?? in ip

Re: [CentOS] hostname service?

2015-12-27 Thread Brandon Vincent
On Sun, Dec 27, 2015 at 4:03 PM, Nicholas Geovanis wrote: > On CentOS 7, I find in /var/log/messages several times daily messages > "localhost systemd: Started Hostname Service.". However I can't seem to > find such a service using the systemctl command. What is the

Re: [CentOS] routing with 2 public ips

2015-12-27 Thread Gordon Messmer
On 12/27/2015 07:49 PM, Eliezer Croitoru wrote: On 27/12/2015 22:49, Gordon Messmer wrote: While that's true, you still have to select the default route using "ip rule". And since you can do that using the source address for outgoing packets, there's no reason to mark them. It's completely