Share internet connection/make a small server

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


Am Mo, den 29.08.2005 schrieb Antonio Olivares um 2:51:

>    Recently at work, the network administrators
> changed from static ip's to dhcp.  They made changes
> to use static dhcp using the mac address of the
> machines connected to the network.  Before I could
> connect to the network using something like
> 
> [root at rio ~]# ifconfig eth0 10.154.20.157 netmask
> 255.255.248.0
> [root at rio ~]# route add default gateway 10.154.16.1
> [root at rio ~]# echo nameserver 10.128.0.4 >>
> /etc/resolv.conf

Why did you do that manually and not let the network scripts do their
job?

> Here's the info of that machine's connection after
> system administrator connected the machine using mac
> address.
> 
> [root at rio ~]# ifconfig -a
> eth0      Link encap:Ethernet  HWaddr
> 00:50:2C:A6:19:28
>          inet addr:10.154.19.136  Bcast:10.154.19.255
>  Mask:255.255.255.0

You hopefully have seen that things changed here: not only the IP
address, but too the subnet mask changed from 255.255.248.0 to
255.255.255.0. Said that your next posting shows in ifcfg-eth0
"NETMASK=255.255.248.0" which does not reflect this change.

> Now I cannot get network access.  Even with dhcp
> enabled.  The network identifies the mac address of
> the machine and assigns the same ip throughout.  

> Antonio

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 19:59:05 up 7 days, 16:42, load average: 0.02, 0.10, 0.13 
-------------- 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/ad77fa12/attachment-0001.sig>


More information about the fedora-list mailing list