Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: john on October 22, 2003, 06:09:16 AM
-
What I am doing wrong , I need assistance to
1. unable to access internet from pc connected to NIC2 & cannot access other pc on the network.
2. able to ping NIC1 IP
Setup;
NIC1-ETH0; 192.168.110.1
NIC2-ETH1; INTERNET
NIC3-ETH2; 192.168.100.1
1. /sbin/e-smith/config set EthernetDriver2 e100
2.mkdir -p /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/ ifcfg-eth2
3. cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/ifcfg-eth2
4. pico /etc/sysconfig/network-scripts/ifcfg-eth2
added 2nd internal nic IP Address
DEVICE=eth2
USERCTL=no
ONBOOT=yes
BOOTPROTO=none
IPADDR=192.168.100.1
NETMASK=255.255.255.0
NETWORK=192.168.100.0
BROADCAST=192.168.100.255
5. /sbin/e-smith/expand-template /etc/sysconfig/network-scripts/ifcfg-eth2
6. /sbin/e-smith/signal-event console-save
7. add the local network
Network 192.168.0.0
netmask 255.255.255.0
router 192.168.0.1
8. rebooted
9.
/etc/module.conf
alias eth0 e100
alias eth1 e100
alias eth2 e100
thx in advance
-
John,
Unless its a typo NIC2 is your external/WAN port. If you plug a client pc into it of course you will not be able to access the internet or see the rest of the network.
Jon
-
7. add the local network
Network 192.168.0.0
netmask 255.255.255.0
router 192.168.0.1
Shouldn't the network be 192.168.100.0 and the router be 192.168.100.1?
-
thx for your prompt responses..
when I use your suggestion and change the setting to;
network: 192.168.100.0
netmask:255.255.255.0
router: 192.168.100.1--> 2nd internal IP Address
I get error;
router address is not access from local network..did not add network..
but when I change router to: 192.168.110.1--->internal IP Address:
It successfully adds it to network.. but still unable to access local network or internet.. from pc connected to 2nd internal network.nic 3.
local network .....nic1-->eth0...IP 192.168.110.1
2nd local network..nic3-->eth2..IP 192.168.100.1
internet ....nic2-->eth1
Your assistance is highly appreciated..
john