Andrew my bad I did over look this for local configuration However I will kinda give you a hint of how it works in data center environments I won’t go any further then this link though because here lately we have even been doing more crazier stuff than this..

 

http://docs.ovh.ca/en/guides-network-bridging.html

 

 

Loren Tedford (KC9ZHV)
Phone Main: 1+ (631) 686 – 8878 Option 1
Fax: 1-618-551-2755
Email: loren@lorentedford.com
Email: KC9ZHV@KC9ZHV.com
http://www.lorentedford.com
http://www.kc9zhv.com
http://forum.kc9zhv.com
http://hub.kc9zhv.com
http://Ltcraft.net
http://voipham.com

 

From: Andrew Sylthe
Sent: Monday, April 9, 2018 10:09 PM
To: Users of Asterisk app_rpt
Subject: Re: [App_rpt-users] Static IP Config

 

You've specified a subnet mask of 255.255.255.255. A /32 address when specified as the primary address on the system won't be able to route. Anyone trying to follow this "example" will get confused when nothing works.

 

On Mon, Apr 9, 2018, 7:18 PM Loren Tedford <loren@lorentedford.com> wrote:

I just realized some might not understand what a gate ip is or broadcast etc.. So here is a demo example of how you could configure this.

 

Via ssh command line

nano /etc/network/interfaces

 

### Put the following in

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

 

source /etc/network/interfaces.d/*

 

# The loopback network interface

auto lo

iface lo inet loopback

 

# The primary network interface

auto eth0

allow-hotplug eth0

iface eth0 inet static

  address 192.168.9.100

  netmask 255.255.255.255

  broadcast 192.168.9.100

  gateway 192.168.9.1

  dns-nameservers 8.8.8.8

## Just to be sure gateway is working correctly add the below

  post-up /sbin/ip route add 192.168.9.1  dev eth0

  post-up /sbin/ip route add default via 192.168.9.1

  pre-down /sbin/ip route delete 192.168.9.1 dev eth0

  pre-down /sbin/ip route delete default via 192.168.9.1

 

## End of /etc/network/interfaces

 

For ip’s not on the same network segment often times like in data center environments you will have to do some thing like this. Below is an example keep in mind typically all these ip’s will be public ip’s not private ip’s

 

Via ssh command line

nano /etc/network/interfaces

 

### Put the following in

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

 

source /etc/network/interfaces.d/*

 

# The loopback network interface

auto lo

iface lo inet loopback

 

# The primary network interface

auto eth0

allow-hotplug eth0

iface eth0 inet static

  address 192.168.9.100

  netmask 255.255.255.255

  broadcast 192.168.9.100

  gateway 10.0.0.254

  dns-nameservers 8.8.8.8  ##Use their DNS name servers Trust me!

## Just to be sure gateway is working correctly add the below

  post-up /sbin/ip route add 10.0.0.254  dev eth0

  post-up /sbin/ip route add default via 10.0.0.254

  pre-down /sbin/ip route delete 10.0.0.254 dev eth0

  pre-down /sbin/ip route delete default via 10.0.0.254

 

## End of /etc/network/interfaces

 

 

 

 

 

 

Loren Tedford (KC9ZHV)
Phone Main: 1+ (631) 686 – 8878 Option 1
Fax: 1-618-551-2755
Email: loren@lorentedford.com
Email: KC9ZHV@KC9ZHV.com
http://www.lorentedford.com
http://www.kc9zhv.com
http://forum.kc9zhv.com
http://hub.kc9zhv.com
http://Ltcraft.net
http://voipham.com

 

From: Loren Tedford
Sent: Monday, April 9, 2018 7:12 PM
To: Users of Asterisk app_rpt
Subject: Re: [App_rpt-users] Static IP Config

 

Via ssh command line

nano /etc/network/interfaces

 

### Put the following in

# This file describes the network interfaces available on your system

# and how to activate them. For more information, see interfaces(5).

 

source /etc/network/interfaces.d/*

 

# The loopback network interface

auto lo

iface lo inet loopback

 

# The primary network interface

auto eth0

allow-hotplug eth0

iface eth0 inet static

  address ipaddr

  netmask 255.255.255.255

  broadcast ipaddr

  gateway 192.168.1.1

  dns-nameservers 8.8.8.8

## Just to be sure gateway is working correctly add the below

  post-up /sbin/ip route add Gatewayip  dev eth0

  post-up /sbin/ip route add default via Gatewayip

  pre-down /sbin/ip route delete Gatewayip dev eth0

  pre-down /sbin/ip route delete default via Gatewayip

 

## End of /etc/network/interfaces

 

I hope the above helps you in setting your static ip on your system..

 

Good luck if you need anything just holler!

 

 

 

 

 

Loren Tedford (KC9ZHV)
Phone Main: 1+ (631) 686 – 8878 Option 1
Fax: 1-618-551-2755
Email: loren@lorentedford.com
Email: KC9ZHV@KC9ZHV.com
http://www.lorentedford.com
http://www.kc9zhv.com
http://forum.kc9zhv.com
http://hub.kc9zhv.com
http://Ltcraft.net
http://voipham.com

 

From: CHARLES BENN
Sent: Monday, April 9, 2018 5:56 PM
To: app_rpt-users@lists.allstarlink.org
Subject: [App_rpt-users] Static IP Config

 

I loaded the new image and did the original set up with DHCP.

I log on to the Console using root enter the info using the  ASL-Menu and save it but the IP remains DHCP.

After hitting OK there is a quick flash of some info at the bottom of the screen but its is gone before I can read it.

 

Any suggestions

73 Charlie WB2SNN 27904-27908

 

 

 

 

 

_______________________________________________
App_rpt-users mailing list
App_rpt-users@lists.allstarlink.org
http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users

To unsubscribe from this list please visit http://lists.allstarlink.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.