determine gateway on remote server?

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

 



Hey all,

I have a new dedicated RH9 server and need to assign three new IPs
to virtual devices. Normally, I just copy the basic ifcfg-eth0
iformation, such as gateway and netmask into ifcfg-eth0:1 etc.
However, this data center setup my ifcfg-eth0 to use dhcp........ so
the ifcfg-eth0 file contains nothing of value to me.

I can use ifconfig to get the netmask, but how do I determine the
default gateway for this server? I need this to build the new
vistual devices, such as ifcfg-eth0:1 .

Thanks in advance for your suggestions.

Luke


-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux