[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-team] Static and Dynamic IP



Voici une version beta du mail que je vais envoyer à Pascal Lundi... tu en
penses quoi ???
y'a des fautes ??? il manque des trucs ??? (je dois encore ajouter mes
fichiers de config).



 <<netst.txt>> 

Hello !
 
 
Well I have a problem : I can't configure my internet cable connection with
SuSE 6.1.  Actually I've 2 PCI networks cards
* eth0 is used for the cable-modem, supposed to use a dynamic IP
* eth1 is used for a small LAN, static IP (192.168.0.20)
 
before I start, I want to say that everything works well with win 9x, so
there is no problem with the cables, network cards, etc...
 
the cards are detected by SuSE at the startup, with the right adresses and
IRQs.  Since none of the cards are in the list, I used "Ne2000 compatible
PCI card".  They are both identified as Realtek (but one of them is a
D-Link)... but I don't think there's a problem with this (I tried them
separately and they both work on my LAN)...
 
First, I tried to setup them with YAST.
 
First, I setuped the eth1 (LAN) with a static IP... no problem, it works
well, I can ping the other computers on the network...
 
Yast always complain with eth0 because I don't assign a static IP to this
card and it wants one to activate the card... I just ignored that...
 
Then I tried to setup the cable-modem network card... (still with YAST)...
but when I select DHCP Client, I can't access anymore to the network
configuration menu... doesn't matter, the other card is already setuped
correctly...
 
when I do this, none of the cards works anymore...
 
Of course the DHCPcd is installed on the computer... I tried with the DHCPd,
doesn't work too...
 
there is nothing about this in the SuSE manual (only 3 lines)... I have read
a few HOWTOs but I can't find anything to solve this problem...
 
I haven't found when I can tell Linux that I want to use the DHCP with the
eth0 only (many people say that Linux detects that automatically)
 
I don't know is it's useful to say that, but the cable modem is a TeraPro
(terayon) and the DHCP server runs under Windows NT (I think)
 
PS: As the Internet connexion doesn't work under Linux, I can't do a
tcpdump... so I've attached a text file with the results of a netstat
(windows)... I hope this can help...



                   \\\___///
                  \\  - -  //
                   (  @ @  )
 +---------------oOOo-(_)-oOOo-------------+
 |         Pierre-Yves Uytdenhoef          |
 |       Secrétariat Social PARTENA        |
 |          Service Informatique           |
 | Tél: +32-2-5493604 - Fax: +32-2-5144764 |
 |     E-mail: puytdenhoeg@partena.be      |
 +------------------------Oooo-------------+
                  oooO   (   )
                 (   )    ) /
                  \ (    (_/
                   \_)
Active Routes:

  Network Address          Netmask  Gateway Address        Interface  Metric
          0.0.0.0          0.0.0.0   194.69.201.225   194.69.201.233       1
        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1       1
      192.168.0.0    255.255.255.0     192.168.0.20     192.168.0.20       1
     192.168.0.20  255.255.255.255        127.0.0.1        127.0.0.1       1
   194.69.201.224  255.255.255.240   194.69.201.233   194.69.201.233       1
   194.69.201.233  255.255.255.255        127.0.0.1        127.0.0.1       1
   194.69.201.255  255.255.255.255   194.69.201.233   194.69.201.233       1
        224.0.0.0        224.0.0.0     192.168.0.20     192.168.0.20       1
        224.0.0.0        224.0.0.0   194.69.201.233   194.69.201.233       1
  255.255.255.255  255.255.255.255     192.168.0.20          0.0.0.0       1
Interface Statistics

                           Received            Sent

Bytes                       2834956          216737
Unicast packets                5565            1487
Non-unicast packets             157             157
Discards                          0               0
Errors                            0               0
Unknown protocols               125

IP Statistics

  Packets Received                   = 5696
  Received Header Errors             = 0
  Received Address Errors            = 6
  Datagrams Forwarded                = 0
  Unknown Protocols Received         = 0
  Received Packets Discarded         = 0
  Received Packets Delivered         = 5696
  Output Requests                    = 1631
  Routing Discards                   = 0
  Discarded Output Packets           = 0
  Output Packet No Route             = 1
  Reassembly Required                = 0
  Reassembly Successful              = 0
  Reassembly Failures                = 0
  Datagrams Successfully Fragmented  = 0
  Datagrams Failing Fragmentation    = 0
  Fragments Created                  = 0

ICMP Statistics

                            Received    Sent
  Messages                  10          12        
  Errors                    0           0         
  Destination Unreachable   0           2         
  Time Exceeded             0           0         
  Parameter Problems        0           0         
  Source Quenchs            0           0         
  Redirects                 0           0         
  Echos                     3           1         
  Echo Replies              1           3         
  Timestamps                0           0         
  Timestamp Replies         0           0         
  Address Masks             0           0         
  Address Mask Replies      0           0         

TCP Statistics

  Active Opens                        = 85
  Passive Opens                       = 0
  Failed Connection Attempts          = 0
  Reset Connections                   = 4
  Current Connections                 = 4
  Segments Received                   = 1305
  Segments Sent                       = 1112
  Segments Retransmitted              = 10

UDP Statistics

  Datagrams Received    = 4377
  No Ports              = 11
  Receive Errors        = 0
  Datagrams Sent        = 498

Route Table

Active Connections

  Proto  Local Address          Foreign Address        State
  TCP    0.0.0.0:1032           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:29960          0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1041           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1042           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1078           0.0.0.0:0              LISTENING
  TCP    0.0.0.0:1124           0.0.0.0:0              LISTENING
  TCP    127.0.0.1:1025         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:6667         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:21           0.0.0.0:0              LISTENING
  TCP    127.0.0.1:23           0.0.0.0:0              LISTENING
  TCP    127.0.0.1:25           0.0.0.0:0              LISTENING
  TCP    127.0.0.1:2080         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:808          0.0.0.0:0              LISTENING
  TCP    127.0.0.1:1080         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:1090         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:80           0.0.0.0:0              LISTENING
  TCP    127.0.0.1:7000         0.0.0.0:0              LISTENING
  TCP    127.0.0.1:110          0.0.0.0:0              LISTENING
  TCP    127.0.0.1:368          0.0.0.0:0              LISTENING
  TCP    127.0.0.1:119          0.0.0.0:0              LISTENING
  TCP    192.168.0.20:1025      0.0.0.0:0              LISTENING
  TCP    192.168.0.20:2080      0.0.0.0:0              LISTENING
  TCP    192.168.0.20:53        0.0.0.0:0              LISTENING
  TCP    192.168.0.20:67        0.0.0.0:0              LISTENING
  TCP    192.168.0.20:137       0.0.0.0:0              LISTENING
  TCP    192.168.0.20:138       0.0.0.0:0              LISTENING
  TCP    192.168.0.20:139       0.0.0.0:0              LISTENING
  TCP    194.69.201.233:1041    194.69.192.113:119     ESTABLISHED
  TCP    194.69.201.233:1042    194.69.192.113:119     ESTABLISHED
  TCP    194.69.201.233:1078    194.69.192.113:119     ESTABLISHED
  TCP    194.69.201.233:1124    194.69.192.113:119     ESTABLISHED
  TCP    194.69.201.233:137     0.0.0.0:0              LISTENING
  TCP    194.69.201.233:138     0.0.0.0:0              LISTENING
  TCP    194.69.201.233:139     0.0.0.0:0              LISTENING
  UDP    0.0.0.0:1032           *:*                    
  UDP    127.0.0.1:1025         *:*                    
  UDP    127.0.0.1:368          *:*                    
  UDP    192.168.0.20:1025      *:*                    
  UDP    192.168.0.20:53        *:*                    
  UDP    192.168.0.20:67        *:*                    
  UDP    192.168.0.20:137       *:*                    
  UDP    192.168.0.20:138       *:*                    
  UDP    194.69.201.233:137     *:*                    
  UDP    194.69.201.233:138     *:*