Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have linux RedHat 8.0 and I want to set up mydomain
I get IP ,gateway,DNS from ISP:
IP 202.45.99.20
gateway 202.45.99.11
DNS 202.25.99.4
which connect by Brige.
Also I want to set up firewall, server,
office network,contect between firewall and Server by Hub.
- Firewall(compuer 1)
I mean that computer set up firewall have 2 LAN cards eth0( connect internet),eth1(connect internal network have server,office network )and public DNS(mydonain.com).
How to set up ip eth0,eth1,Hostname,
Gateway,Name servers and Mydomain.com?
- Server(computer 2)
I have web and mail server with mydomain.com .
How to set up ip eth0,Hostname,Gateway,Name servers and Mydomain.com contect to intenet?
- Office network
How to set up ip eth0,Hostname,Gateway,Name servers contect to intenet and server ?
Please help me configuring iptables in mynetwork ?
And recommend set IP and Mydomain.com work together.
Thank you
Ley

# ifconfig $INTERFACE $IPADDRESS broadcast $BROADCAST netmask $NETMASK
# /sbin/route add -net default gw $GATEWAY netmask 0.0.0.0 metric 1
# hostname $HOSTNAME
# man resolv.conf
# man iptables
http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |