BIPS
September 25th, 2008, 06:33 AM
hi,
i have some problems with my server and static ip i dont know what iu have entered after broadcasting and network so my server can't connect to internet via static ip.
ifconfig shows:
benas@86:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2f:3e:eb:2a
inet addr:86.38.32.250 Bcast:86.38.32.255 Mask:255.255.255.248
inet6 addr: fe80::211:2fff:fe3e:eb2a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:14634
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1224 (1.1 KB)
Interrupt:18 Base address:0x2c00
eth1 Link encap:Ethernet HWaddr 00:1d:60:cf:15:c8
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:60ff:fecf:15c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2620 errors:0 dropped:0 overruns:0 frame:0
TX packets:945 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:415999 (406.2 KB) TX bytes:757373 (739.6 KB)
Interrupt:16 Base address:0xef00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:727 errors:0 dropped:0 overruns:0 frame:0
TX packets:727 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:104961 (102.5 KB) TX bytes:104961 (102.5 KB)
and sudo nano /etc/network/interfaces shows
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0 eth1
iface lo inet loopback
# The primary network interface
iface eth0 inet static
address 86.38.32.250
netmask 255.255.255.248
gateway 86.38.32.254
# The secondary network interface
iface eth1 inet dhcp
and it still not working, also the adres really works (tested on windows).
i have some problems with my server and static ip i dont know what iu have entered after broadcasting and network so my server can't connect to internet via static ip.
ifconfig shows:
benas@86:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:2f:3e:eb:2a
inet addr:86.38.32.250 Bcast:86.38.32.255 Mask:255.255.255.248
inet6 addr: fe80::211:2fff:fe3e:eb2a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:14634
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1224 (1.1 KB)
Interrupt:18 Base address:0x2c00
eth1 Link encap:Ethernet HWaddr 00:1d:60:cf:15:c8
inet addr:192.168.1.10 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21d:60ff:fecf:15c8/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2620 errors:0 dropped:0 overruns:0 frame:0
TX packets:945 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:415999 (406.2 KB) TX bytes:757373 (739.6 KB)
Interrupt:16 Base address:0xef00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:727 errors:0 dropped:0 overruns:0 frame:0
TX packets:727 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:104961 (102.5 KB) TX bytes:104961 (102.5 KB)
and sudo nano /etc/network/interfaces shows
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo eth0 eth1
iface lo inet loopback
# The primary network interface
iface eth0 inet static
address 86.38.32.250
netmask 255.255.255.248
gateway 86.38.32.254
# The secondary network interface
iface eth1 inet dhcp
and it still not working, also the adres really works (tested on windows).