help on network config

Danny Terweij danny at leto.nettuning.net
Tue Apr 1 08:01:01 UTC 2008


Normaly you use 1 gateway within a network / building if its the same subnet.

Why do you have 3 (or more) different gateways?
Do you understand what a gateway is?

Danny.


  ----- Original Message ----- 
  From: stin wang 
  To: Ubuntu user technical support,not for general discussions 
  Sent: Tuesday, April 01, 2008 9:51 AM
  Subject: Re: help on network config


  i can't change pc2,pc3  as you say, because the gateway should be determined by its location. many pcs distrubute in different floors.



  2008/4/1, stin wang <stin.wang at gmail.com>:
    because if i use windows, those subnet communicate properly.

    btw.

    pc1 ubuntu
    pc2 and pc3 pc4 all in windows

    I think it should be some wrong with my network configure ,mabey hardware.

    maybe i should get some help from my network administrator.



     
    2008/4/1, Nils Kassube <kassube at gmx.net>:
      stin wang wrote:
      > pc1
      > ip 172.18.20.87
      > mask 255.255.255.224
      > gate 172.18.20.94
      > pc2
      > 172.18.20.98
      > 255.255.255.224
      > 172.18.20.126
      > pc3
      > 172.18.20.225
      > 255.255.255.224
      > 172.18.20.253
      >
      > i can ping 172.18.20.98 172.18.20.225 in pc1 ,it's ok
      > but i can't use ftp,vnc,or tsclient to pc2 or pc3, but it's ok for
      > 172.18.20.88 which is in the same gateway as pc1,

      How are those PCs connected? There should be a router with 3 ports between
      the PCs with the addresses *.94, *.126 and *.253 and it needs routing
      enabled between the ports.

      > or just ubuntu have some problem with subnet??

      Don't think so. Probably there is something wrong with your network
      layout. If all 3 PCs should see each other, you should better use the
      same subnet for all of them. E.g. PC1 = 172.18.20.87, PC2 = 172.18.20.88,
      PC3 = 172.18.20.89, netmask 255.255.255.224. If you have a router
      connecting your network to the internet, use the IP of the router for the
      gateway on all 3 PCs.

      However, if you have a router connected, it is highly recommended to get
      rid of your static routing. Enable DHCP on the router and on the PCs.


      Nils

      --
      ubuntu-users mailing list
      ubuntu-users at lists.ubuntu.com
      Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users





    -- 
    ----------------------------------------------
    Tie Wang
    TianJin Climate Center
    TianJin Meteorological Bureau
    Tianjin, China, 300074
    Email: stin.wang at gmail.com
    Tel:+86-22-23333559
    ---------------------------------------------- 



  -- 
  ----------------------------------------------
  Tie Wang
  TianJin Climate Center
  TianJin Meteorological Bureau
  Tianjin, China, 300074
  Email: stin.wang at gmail.com
  Tel:+86-22-23333559
  ---------------------------------------------- 


------------------------------------------------------------------------------


  -- 
  ubuntu-users mailing list
  ubuntu-users at lists.ubuntu.com
  Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



------------------------------------------------------------------------------




  ---
  avast! Antivirus: Inbound message clean.
  Virus Database (VPS): 080331-0, 31-03-2008
  Tested on: 1-4-2008 9:55:37
  avast! - copyright (c) 1988-2008 ALWIL Software.
  http://www.avast.com






---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 080331-0, 31-03-2008
Tested on: 1-4-2008 10:01:08
avast! - copyright (c) 1988-2008 ALWIL Software.
http://www.avast.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080401/0c83d5c4/attachment.html>


More information about the ubuntu-users mailing list