Results 1 to 2 of 2
Hi folks,
Ubuntu 7.04 lamp server amd64
only one NIC
Connection
Server --> Router --> DSL Modem --> ISP
The router is supplied by ISP and password-locked by ISP. I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-20-2007 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,712
Config on /etc/network/interfaces
Hi folks,
Ubuntu 7.04 lamp server amd64
only one NIC
Connection
Server --> Router --> DSL Modem --> ISP
The router is supplied by ISP and password-locked by ISP. I suppose 192.168.0.1 is the gateway. How can I check it?
Fixed IP
220.232.213.178
IP address reserved for server on Router
192.168.0.10
DNS
202.14.67.4/14
$ cat /etc/network/interfacesCode:# The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet dhcp
Now I'll change the second part after "auto eth0" as:Please advise what shall I enter forCode:auto eth0 iface eth0 init static address 192.168.0.10 netmask 255.255.255.255 network ??? broadcast ??? gateway ??? # dns -* options are implemented by the resolvconf package, if installed dns-nemserver 202.14.67.4 204.14.67.14
network ???
broadcast ???
gateway ???
Shall I put the fix IP (202.232.213.17
here? It is for external only.
TIA
B.R.
satimis
- 08-20-2007 #2
Code:
auto eth0
iface eth0 init static
address 192.168.0.10
netmask 255.255.255.255
network ???
broadcast ???
gateway ???
# dns -* options are implemented by the resolvconf package, if installed
dns-nemserver 202.14.67.4 204.14.67.14
Please advise what shall I enter for
network ???
broadcast ???
gateway ???
R U sure about the Netmask which u have entered 255.255.255.255. i think it will be 255.255.255.0. if 192.168.0.10 is your ip then maybe ur network is 192.168.0.0 and the brodcast is 192.168.0.255 and the gateway's ip will be ur router ip. im not sure but im just giving u the most common configuration using this ip range


Reply With Quote
