[asterisk-users] network routing

Watkins, Bradley Bradley.Watkins at compuware.com
Thu Jun 28 14:50:10 CDT 2007



> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com 
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ed Nuñez
> Sent: Thursday, June 28, 2007 3:13 PM
> To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
> Subject: Re: [asterisk-users] network routing
> 
> This allows me to edit the IP Address of the NIC card, but 
> not edit my IP routing.
> 
>  

In your instance, you're trying to add a default gateway.

Therefore, in your /etc/sysconfig/network-scripts/ifcfg-ethX file:

GATEWAY=XXX.XXX.XXX.XXX


If you need others, create /etc/sysconfig/network-scripts/route-ethX and use this format:


GATEWAY0=1.2.3.4
NETMASK0=255.255.255.0
ADDRESS0=1.2.3.0

GATEWAY1=1.2.3.5
NETMASK1=255.255.255.0
ADDRESS1=1.2.3.5

And so forth.

- Brad

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 

The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. 



More information about the asterisk-users mailing list