-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

g2 wrote:
| Hi,
|
| can you help me on how to setup a private network.  My linux server has
| 2 NICs and I want to share my internet connection to my subnet.
|
| I did some googling, read some howtos and visited mandrakeusers.org but
| I cant seem to make it work.
|
| I run mcc, and enables Internet Sharing, I chose eth1 as the one
| connected to my LAN.  I think I have a problem my routing table.
|
| from the client side, well I can ping the IP Add of eth0 as well as the
| IP Add of eth1.  hereis my ifconfig :
|
|
| eth0      Link encap:Ethernet  HWaddr 00:40:F4:36:42:45
|           inet addr:158.202.49.147  Bcast:158.202.49.255
| Mask:255.255.255.0
|           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
|           RX packets:14759 errors:0 dropped:0 overruns:0 frame:0
|           TX packets:5596 errors:1 dropped:0 overruns:0 carrier:2
|           collisions:306 txqueuelen:100
|           RX bytes:4874410 (4.6 Mb)  TX bytes:663386 (647.8 Kb)
|           Interrupt:11 Base address:0xa000
|
| eth1      Link encap:Ethernet  HWaddr 00:07:40:0A:0F:EA
|           inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
|           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
|           RX packets:1196 errors:0 dropped:0 overruns:0 frame:0
|           TX packets:864 errors:0 dropped:0 overruns:0 carrier:0
|           collisions:0 txqueuelen:100
|           RX bytes:101950 (99.5 Kb)  TX bytes:80060 (78.1 Kb)
|           Interrupt:5 Base address:0xc400
|
| lo        Link encap:Local Loopback
|           inet addr:127.0.0.1  Mask:255.0.0.0
|           UP LOOPBACK RUNNING  MTU:16436  Metric:1
|           RX packets:1585 errors:0 dropped:0 overruns:0 frame:0
|           TX packets:1585 errors:0 dropped:0 overruns:0 carrier:0
|           collisions:0 txqueuelen:0
|           RX bytes:117535 (114.7 Kb)  TX bytes:117535 (114.7 Kb)
|
| And my route table
|
| 158.202.49.0    0.0.0.0         255.255.255.0   U     0      0        0
| eth0
| 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
| eth1
| 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0
| lo
| 0.0.0.0         158.202.49.1    0.0.0.0         UG    0      0        0
| eth0
|
|
| when i do "[root]#route add -host 192.168.0.1 gw 158.202.49.147 eth1" it
| says Network Unreachable.
|
| Is this what is suppose to have? eth1 will have eth0 IP Add as its
| gateway. client (subnet) pc will have eth1 IP Add as its gateway.
|
| help.
|
| g2

g2,

Did you install and start dhcpd? this is necessary for the client
machines. and can you ping any of the client machines from the server?

- --
daRcmaTTeR
- ----------
Registered Linux User 182496
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9JEwwJuZ1geTzHgERAnpiAKCJyyAjkuoF911OgB+MmAyZ9WPI6wCghYdm
Q+W5zUbws9+dkP0JXX0y4K4=
=4NSE
-----END PGP SIGNATURE-----


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to