Static IP`s

Discussion in 'Installation/Configuration' started by shajazzi, Jul 1, 2007.

  1. shajazzi

    shajazzi Member

    Hi,
    I need help in setting up static IP`s
    I am at present running Suse10.1. I have changed ISP`s from Tiscali to Newnet which comes with 6 static IP`s

    Primary DNS Server: 212.87.64.7
    Seconday DNS Server: 212.87.64.10

    VPI, VCI: 0, 38
    Encapsulation: VC MUX
    Internet Protocol: PPPoA

    Gateway IP: 80.xxx.xxx.41
    Subnet Mask: 255.255.255.248

    Subnet Mask: 255.255.255.0 in router

    PC Settings:

    First Usable IP: 80.xxx.xxx.42
    Last Usable IP: 80.xxx.xxx.46
    Subnet Mask: 255.255.255.248

    Routing configuration = default gateway 192.168.1.1

    In ISPconfig i have sites under the ip of 192.168.1.113
    http://www.speedy-fit.co.uk and this runs fine. I have set up a new site under one of my new static IP`s 80.xxx.xxx.42 http://www.solar-tube.co.uk/
    and all I get is SHARED IP, I think that something has been missed in my configuration somewhere.
    Has anybody any ideas please?

    shajazzi
     
    Last edited: Jul 2, 2007
  2. falko

    falko Super Moderator Howtoforge Staff

    You must use one of the IP addresses that you see in the output of
    Code:
    ifconfig
    If 80.175.200.42 is not listed there, you'll get the Shared-IP page.
     
  3. shajazzi

    shajazzi Member

    Hi,
    I did as you suggested and entered the command ifconfig and the IP 80.175.200.42 is there.

    mybox:~ # ifconfig
    eth0 Link encap:Ethernet HWaddr 00:13:8F:9A:E0:20
    inet addr:80.xxx.xxx.41 Bcast:80.xxx.xxx.47 Mask:255.255.255.248
    inet6 addr: fe80::213:8fff:fe9a:e020/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:28508 errors:0 dropped:0 overruns:0 frame:0
    TX packets:31338 errors:12 dropped:0 overruns:0 carrier:12
    collisions:0 txqueuelen:1000
    RX bytes:5872229 (5.6 Mb) TX bytes:6460620 (6.1 Mb)
    Interrupt:233 Base address:0x2000

    eth0:e Link encap:Ethernet HWaddr 00:13:8F:9A:E0:20
    inet addr:192.168.1.110 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:233 Base address:0x2000

    eth0:s Link encap:Ethernet HWaddr 00:13:8F:9A:E0:20
    inet addr:192.168.1.113 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:233 Base address:0x2000

    eth0:stat Link encap:Ethernet HWaddr 00:13:8F:9A:E0:20
    inet addr:80.175.200.42 Bcast:80.xxx.xxx.47 Mask:255.255.255.248
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:233 Base address:0x2000

    eth0:t Link encap:Ethernet HWaddr 00:13:8F:9A:E0:20
    inet addr:192.168.1.111 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:233 Base address:0x2000

    eth0:v Link encap:Ethernet HWaddr 00:13:8F:9A:E0:20
    inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    Interrupt:233 Base address:0x2000

    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:19465 errors:0 dropped:0 overruns:0 frame:0
    TX packets:19465 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:3676078 (3.5 Mb) TX bytes:3676078 (3.5 Mb)

    I must have some misconfiguration somewhere. I notice that i also have 80.xxx.xxx.47 maybe i should try that, however it`s not an IP that my ISP has given me .
    I ran a check through dnsstuff and both 80.xxx.xxx.42 and 80.xxx.xxx.47 are assigned to me.

    shajazzi :confused:
     
    Last edited: Jul 2, 2007
  4. falko

    falko Super Moderator Howtoforge Staff

    I can't ping 80.175.200.42, so there must be a problem in your network configuration somewhere...
     

Share This Page