- Joined
- Apr 26, 2019
- Messages
- 6
- Reaction score
- 0
Hi Members,
I am setting up a pbx with 2 nics on the on-prem box.
The provider is a generic SIP. I saw the sample below configs in one of the threads and need help to validate what i have done and to ask which gateway ip i should use here.
Please help a friend.
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp0s31f6
auto enp0s31f6
iface enp0s31f6 inet static
address 192.168.30.15/24
gateway 192.168.30.1
dns-nameservers X.X.X.X
# The SIP network Provider Interface (Cable from Provider into 2nd NIC)
allow-hotplug enp3s0
auto enp3s0
iface enp3s0 inet static
address <Provider SIP IP Address>
#static routes
up route add -net <Provider SIP IP Address> gw <Which gateway should i use?> dev enp3s0
thanks
I am setting up a pbx with 2 nics on the on-prem box.
The provider is a generic SIP. I saw the sample below configs in one of the threads and need help to validate what i have done and to ask which gateway ip i should use here.
Please help a friend.
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug enp0s31f6
auto enp0s31f6
iface enp0s31f6 inet static
address 192.168.30.15/24
gateway 192.168.30.1
dns-nameservers X.X.X.X
# The SIP network Provider Interface (Cable from Provider into 2nd NIC)
allow-hotplug enp3s0
auto enp3s0
iface enp3s0 inet static
address <Provider SIP IP Address>
#static routes
up route add -net <Provider SIP IP Address> gw <Which gateway should i use?> dev enp3s0
thanks