David G. Mackay wrote:
I have a netopia 2241N dsl modem provided by my ISP (AT&T), which I
access through an ethernet port. The unit can be configured in pass
through mode so that the public internet address is bridged, i.e. my
ethernet card is assigned the public address. This has been working
well for some time now.
There was a network outage the other day, and when service was restored,
the gateway on the remote side had changed. The fun part is that the
gateway is on a different class A ip net than my public ip. I can
resolve all that by doing:
route add -net e.f.g.h netmask 255.0.0.0 dev ethx
route add default gw e.f.g.h
where e.f.g.h is the external gateway ip.
This borks up the /etc/sysconfig/network-scripts/ifcfg-ethx scripting.
Is there a better way to handle this, other than kludging things in
rc.local?
Normally, DHCP takes care of these little problems.. but if you're not
using it (and using static IP config instead), just use the GUI utility
system-config-network - it
should set all these values correctly
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list