Enabling a second nic(eth1) disconnects eth0
Ezra Taylor
ezra.taylor at gmail.com
Wed Apr 25 17:53:05 UTC 2007
All:
I used the /etc/sysconfig/network-scripts/ifup-routes route-eth1. I
put the ipaddress,gateway and netmask in the route-eth1 file. Thanks for
all your help. lastly, I've been using Debian for the last 2 1/2 years. I
have to reacquaint myself with Redhat.
Ezra
On 4/25/07, Ezra Taylor <ezra.taylor at gmail.com> wrote:
>
> So, I should put the second gateway in a startup script? Note, I was
> using the route command to add the second gateway. Thanks for the heads up.
>
> On 4/25/07, Mark Haney <mhaney at ercbroadband.org> wrote:
> >
> > Ezra Taylor wrote:
> > > DEVICE=eth0
> > > BOOTPROTO=static
> > > BROADCAST=2xx.2xx.2xx.255
> > > HWADDR=xxxxxxxxxxx
> > > IPADDR=2xx.2xx.2xx.2xx
> > > NETMASK=2xx.2xx.2xx.2xx
> > > NETWORK=2xx.2xx.2xx.2xx
> > > ONBOOT=yes
> > > TYPE=Ethernet
> > > GATEWAY=2xx.2xx.2xx.2xx
> > >
> > >
> > > DEVICE=eth1
> > > BOOTPROTO=none
> > > IPADDR=1xx.2xx.xxx.1xx
> > > NETMASK=xxx.xxx.xxx.xxx
> > > HWADDR=xxxxxxxxxxxx
> > > ONBOOT=yes
> > > TYPE=Ethernet
> > > USERCTL=no
> > > IPV6INIT=no
> > > PEERDNS=yes
> > > GATEWAY=1xx.xxx.xxx.xxx
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 4/25/07, Herta Van den Eynde <herta.vandeneynde at gmail.com> wrote:
> > >>
> > >> On 25/04/07, Ezra Taylor < ezra.taylor at gmail.com> wrote:
> > >> > Hello all:
> > >> > I'm trying to enable a second nic in my box. The
> > >> second
> > >> nic
> > >> > is on a different network and uses a different gateway. Once I
> > enable
> > >> the
> > >> > second(eth1) nic the first nic(eth0) loses connectivity. Note,
> > >> the nics
> > >> > are connected via patch panel and the patch panel is connected to
> > the
> > >> > switch.
> > >> >
> > >> > --
> > >> > Ezra Taylor
> > >>
> > >> Ezra,
> > >>
> > >> May be a config issue. Could you post the output of "cat
> > >> /etc/sysconfig/network-scripts/ifcfg-eth[01]", please?
> > >>
> > >> Kind regards,
> > >>
> > >> Herta
> > >>
> > >> --
> > >> redhat-list mailing list
> > >> unsubscribe mailto:redhat-list-request at redhat.com
> > ?subject=unsubscribe
> > >> https://www.redhat.com/mailman/listinfo/redhat-list
> > >>
> > >
> > >
> > >
> >
> > I'm thinking it's due to the presence of two default gateways. I've
> > never seen that setup work. YOu'll need to specify routes for the
> > second interface seperately instead of using a default gw.
> >
> >
> > --
> > Ita erat quando hic adveni.
> >
> > Mark Haney
> > Sr. Systems Administrator
> > ERC Broadband
> > (828) 350-2415
> >
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
>
>
>
> --
> Ezra Taylor
--
Ezra Taylor
More information about the redhat-list
mailing list