*New 11.3 series Release:
2019-10-05: XigmaNAS 11.3.0.4.6928 - released, 11.2 series are soon unsupported!

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

2 NIC Routing

Everything to improve your speed, LAGG, VLAN, VPN, Port Forwarding, DNS, Gateway
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
kokni
NewUser
NewUser
Posts: 6
Joined: 10 Mar 2015 14:11
Status: Offline

2 NIC Routing

#1

Post by kokni » 28 Mar 2019 12:26

I have an embedded installation on a server with two interfaces: one interface has a direct/fast connection to the main router (internet gateway) with a static public IP, and a second interface which has a dynamic local IP (192.168.x.x) from a NATing router that serves the private network and gives protected internet access to local network.

Schematically:
ROUTER Static Public IP <-1Gb-> NAS
ROUTER Static Public IP <-1Gb-> NATing ROUTER DHCP <-100Mbs-> NAS

The problem is the following, per netstat -nr (public IP redacted)

Code: Select all

Destination        Gateway            Flags     Netif Expire
Default			192.168.3.1	UGS	bge1
127.0.0.1		link#3		UH	lo0
192.168.3.0/24		link#2		U	bge1
192.168.3.180		link#2		UHS	lo0
x.x.x.0/24		link#1		U	bge0
x.x.x.109		link#1		UHS	lo0
and all traffic is directed through the slower part of the network? any ideas on how to change the default route ?

User avatar
Lee Sharp
Advanced User
Advanced User
Posts: 255
Joined: 13 May 2013 21:12
Contact:
Status: Offline

Re: 2 NIC Routing

#2

Post by Lee Sharp » 10 Jun 2019 04:26

DHCP is assigning the default route. Set our internal side to static, and only assign a gatway on the fast side.

Post Reply

Return to “XigmaNAS Networking Tune-up”