Share internet connection/make a small server

Alexander Dalloz ad+lists at uni-x.org
Mon Aug 29 18:17:19 UTC 2005


Am Mo, den 29.08.2005 schrieb Antonio Olivares um 15:08:

You are using DHCP, so remove what I mark

> [olivares at rio ~]$ cat
> /etc/sysconfig/network-scripts/ifcfg-eth0
> DEVICE=eth0
> BOOTPROTO=dhcp
> BROADCAST=10.154.23.255   delete
> IPADDR=10.154.17.34      delete
> NETMASK=255.255.248.0     delete
> NETWORK=10.154.16.0      delete
> ONBOOT=yes
> TYPE=Ethernet
> HWADDR=00:50:2c:a6:19:28
> USERCTL=no
> PEERDNS=yes
> GATEWAY=10.154.16.1    delete (even with static IP configuration the GATEWAY
                                                   setting mostly ever has to be in /etc/sysconfig/network)
> IPV6INIT=no
> [olivares at rio ~]$ cat /etc/sysconfig/network
> NETWORKING=yes
> HOSTNAME=rio

These data are assigned by the DHCP server. Please see my other reply:
not only your IP changed but too the subnet got smaller. Maybe the
gateway changed too, but that should be done automatically by receiving
the IP data from the DHCP server.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp 
Serendipity 20:05:16 up 7 days, 16:48, load average: 0.05, 0.08, 0.10 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050829/ac41ef08/attachment-0001.sig>


More information about the fedora-list mailing list