Re: Setting up second nic for local lan backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can only have one default gateway.

There are two ways around this, the simple way, and the complex way.
The simple way is to add a static route by following the method shown
here:
http://www.cyberciti.biz/tips/configuring-static-routes-in-debian-or-red-hat-linux-systems.html

The second, more involved way is shown here:
http://lartc.org/howto/lartc.rpdb.multiple-links.html

Finally, look here for more information if they can't help you:
http://lartc.org/

On Wed, May 4, 2011 at 8:40 PM, Steven Buehler <steve@xxxxxxxxxxxx> wrote:
> I have a Redhat 5.2 box that I am trying to setup in internal lan on for
> backing up to a local machine since my Provider charges for any bandwith
> going over the external IP's even though it comes right back to another
> server of my network. ÂBelow is the setup for the 2 nics that I tried, but
> when I try to start the second nic with "ifup eth1", it looses the route for
> the first nic so my external IP will no longer work unless I restart it
> which then takes the route out of the second nic. ÂWhat am I missing? ÂI
> hope someone can help me with this. ÂBTW, the second nic is connected to an
> internal router. ÂI am assuming that I can't just use a switch instead any
> easier.
>
>
>
> # cat ifcfg-eth0
>
> DEVICE=eth0
>
> BOOTPROTO=none
>
> HWADDR=00:1c:23:d5:be:02
>
> IPADDR=101.110.67.100
>
> NETMASK=255.255.255.0
>
> GATEWAY=101.110.67.1
>
> ONBOOT=yes
>
> TYPE=Ethernet
>
> PEERDNS=no
>
>
>
> # cat ifcfg-eth1
>
> BOOTPROTO=static
>
> DEVICE=eth1
>
> ONBOOT=no
>
> IPADDR=192.168.2.151
>
> GATEWAY=192.168.2.1
>
> NETMASK=255.255.255.0
>
> HWADDR=00:1c:23:d5:be:04
>
> PEERDNS=no
>
> TYPE=Ethernet
>
>
>
> Thanks
>
>
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux