[technique] deux IP pour la même framboise |
[ Thread Index | Date Index | More alpinux.org/technique Archives ]
Après avoir installé raspbian sur ma framboise, j'ai voulu la passer en ip fixe. Elle me sert de serveur d'impression. pi@framboise # cat /etc/network/interfaces auto lo iface lo inet loopback auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.1.25 network 192.168.1.0 netmask 255.255.255.0 broadcast 192.168.1.255 gateway 192.168.1.1 Mais depuis mon PC de bureau, j'ai ça : vincent@bureau $ nmap 192.168.1.* Starting Nmap 6.40 ( http://nmap.org ) at 2015-12-09 15:56 CET Nmap scan report for feeteuse (192.168.1.1) Host is up (0.0033s latency). Not shown: 996 filtered ports PORT STATE SERVICE 80/tcp open http 113/tcp closed ident 554/tcp open rtsp 9100/tcp open jetdirect Nmap scan report for bureau (192.168.1.10) Host is up (0.000072s latency). Not shown: 996 closed ports PORT STATE SERVICE 22/tcp open ssh 111/tcp open rpcbind 139/tcp open netbios-ssn 445/tcp open microsoft-ds Nmap scan report for 192.168.1.11 Host is up (0.0085s latency). Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 53/tcp open domain 631/tcp open ipp Nmap scan report for framboise (192.168.1.25) Host is up (0.0043s latency). Not shown: 997 closed ports PORT STATE SERVICE 22/tcp open ssh 53/tcp open domain 631/tcp open ipp Nmap done: 256 IP addresses (4 hosts up) scanned in 6.31 seconds On voit donc la box, le pc de bureau, la framboise et 192.168.1.11 Et là, je ne comprend plus: $ ssh pi@192.168.1.11 hostname pi@192.168.1.11's password: framboise $ ssh pi@192.168.1.25 hostname pi@192.168.1.25's password: framboise Le raspberry répond donc aux deux adresses alors qu'il n'a qu'un port (et un cable). Pourtant, pi@framboise ~ $ ifconfig eth0 Link encap:Ethernet HWaddr b8:e7:eb:64:c4:73 inet adr:192.168.1.25 Bcast:192.168.1.255 Masque:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3261 errors:0 dropped:0 overruns:0 frame:0 TX packets:2690 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:1000 RX bytes:322615 (315.0 KiB) TX bytes:231331 (225.9 KiB) lo Link encap:Boucle locale inet adr:127.0.0.1 Masque:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:49 errors:0 dropped:0 overruns:0 frame:0 TX packets:49 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 lg file transmission:0 RX bytes:3683 (3.5 KiB) TX bytes:3683 (3.5 KiB) Je ne comprend plus. J'ai désinstallé isc-dhcp-client au cas où ce serait un coup du client dhcp... mais non. Des idées pour virer 192.168.1.11 ??
Attachment:
0x34403DA1.asc
Description: application/pgp-keys
Attachment:
signature.asc
Description: OpenPGP digital signature
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |