Share internet connection/make a small server
Antonio Olivares
olivares14031 at yahoo.com
Mon Aug 29 00:51:13 UTC 2005
Dear folks,
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
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
inet6 addr: fe80::250:2cff:fea6:1928/64
Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500
Metric:1
RX packets:2511 errors:0 dropped:0
overruns:0 frame:0
TX packets:1766 errors:0 dropped:0
overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1405141 (1.3 MiB) TX bytes:307686
(300.4 KiB)
Interrupt:11 Base address:0xae00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:51 errors:0 dropped:0 overruns:0
frame:0
TX packets:51 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:3718 (3.6 KiB) TX bytes:3718 (3.6
KiB)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0
frame:0
TX packets:0 errors:0 dropped:0 overruns:0
carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
[root at rio ~]#
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.
I want to add an extra NIC/LAN card to this machine
call it eth1 and use the machine as a host for a small
network so that I can use/share the internet access
with other machines. I ask for advice/help on this
issue. I have read the following
http://www.tldp.org/HOWTO/DHCP/index.html
and
http://www.linux-mag.com/2000-04/networknirvana_01.html
but I am not sure how to begin. I have not placed the
nic card yet on the machine but I will do so tomorrow.
The machine has Fedora Core 3 with an everything
install. What do I need to setup a mini dhcp server
from this machine?
Thanks in advance,
Antonio
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
More information about the fedora-list
mailing list