[asterisk-users] network routing

Joseph Bajin josephbajin at gmail.com
Thu Jun 28 17:36:10 CDT 2007


or in the same file you can just do a

X.X.X.X via Y.Y.Y.Y

Each new one on a seperate line.

On 6/28/07, Watkins, Bradley <Bradley.Watkins at compuware.com> wrote:
>
>
> > -----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.
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list