This setup is only entitled for Streamyx users that subscribe to its fixed IP. It is important to perform this setup which creates a network environment between multiple computer users.
|
This setup is only entitled for Streamyx users that subscribe to its fixed IP. It is important to perform this setup which creates a network environment between multiple computer users. For security matters, there is a firewall protection too.
There are two important issues to consider upon:
- Setting up the network
The setup diagram explain the network configuration and cabling.
Splitter
Asymmetric Digital Subscriber Line (ADSL) Modem
Switch- eth0
IP Address: < your Streamyx IP >
Netmask: < your Streamyx Netmask IP >
Hostname: –
Gateway: < your Streamyx Gateway IP >
Primary DNS IP: < your Streamyx primary DNS >
Secondary DNS IP: < your Streamyx secondary DNS > - eth1
IP Address: 192.168.0.1
Netmask: 255.255.255.0
Hostname: –
Gateway: –
Primary DNS IP: < your Streamyx primary DNS >
Secondary DNS IP: < your Streamyx secondary DNS > - Pc1
IP Address: 192.168.0.2
Netmask: 255.255.255.0
Hostname: –
Gateway: 192.168.0.1
Primary DNS IP: < your Streamyx primary DNS >
Secondary DNS IP: < your Streamyx secondary DNS > - Pc2 and following
IP Address: 192.168.0.3 (and xxx.xxx.x.4, 5, 6,…254)
Netmask: 255.255.255.0
Hostname: –
Gateway: 192.168.0.1
Primary DNS IP: < your Streamyx primary DNS >
Secondary DNS IP: < your Streamyx secondary DNS >
- eth0
- Server Installation
- Install the Redhat Linux 7.2 operating system with kernel 2.4 and the Ipchains.
- Run dmesg and write down the IRQ and IO address for eth1.
- Edit /etc/lilo.conf and append the line below above line boot=/dev/sda, replace 11 and 0x390 with your eth1 setting:
append = “ether=11,0×390,eth1”
run lilo to update the lilo loader
- vi /etc/sysconfig/network-scripts/ifcfg-eth1
DEVICE=eth1
IPADDR=192.168.0.1
NETMASK=255.255.255.0>
ONBOOT=yes - vi /etc/sysconfig/network, and append following line:
FORWADR_IPV4=yes
- vi /etc/rc.d/rc.local and append following line:
echo 1 > /proc/sys/net/ipv4/ip_forward
/sbin/ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0
/sbin/ipchains -P forward DENY - Restart server, shutdown -r now
- Setup client PC using the network configuration of Pc1, Pc2…