★ wanayoo — archive 1999 http://icewalkers.com/doclib/howtos/PLIP-Install-HOWTO-8.htmlNouvelle recherche | Portail wanayoo
Name:   Pass:    
Subscribe to IceWalkers Free NewsLetter




















LittleIgloo.org - a HOT Linux Place
see all



Year 2000 most disappointing thing was:

Y2K Bug
NASDAQ
Delayed Linux Kernel 2.4
Butterfly ballots
Pentium IV
Nothing. That was a great year!

  View results
  Previous polls
 
 Search Howtos: Match: Sort by:



Linux HOWTOs  |  HOWTOs Index



PLIP Install HOWTO: Network parameters Next Previous Contents

8. Network parameters

We will make a plip point-to-point network with those IP configuration:

  • target: 192.168.0.1 netmask 255.255.255.255
  • source: 192.168.0.2 netmask 255.255.255.255

You should not already have those names in your name space:

     $ ping source
     ping: unknown host source
     
     $ ping target
     ping: unknown host target
    

You should not already have those IP addresses in your network space:

     $ ping  192.168.0.1
     PING 192.168.0.1 (192.168.0.1): 56 data bytes
     ping: sendto: Network is unreachable
     ping: wrote 192.168.0.1 64 chars, ret=-1
     
     --- 192.168.0.1 ping statistics ---
     1 packets transmitted, 0 packets received, 100% packet loss
     
     $ ping 192.168.0.2
     PING 192.168.0.2 (192.168.0.2): 56 data bytes
     ping: sendto: Network is unreachable
     ping: wrote 192.168.0.2 64 chars, ret=-1
     
     --- 192.168.0.2 ping statistics ---
     1 packets transmitted, 0 packets received, 100% packet loss
    

If those commands don't give you errors, change the names or the addresses.

You can choose other addresses, names or netmask (netmask must be the same on both sides). In the rest of this document, I'll suppose you choose these addresses and these names.

Add a line in /etc/exports

     #### file /etc/exports ####
     ...
     /cdrom          source(ro) target(ro)
     #### EOF ####
     

Because the portmaper tries to resolve IP addresses, add the IP addresses and names in /etc/hosts

     #### file /etc/hosts ####
     ...
     192.168.0.1     target
     192.168.0.2     source
     #### EOF ####
    

Verify you have the item files for the hosts search list in the file /etc/nsswitch.conf

     #### file /etc/nsswitch.conf ####
     ...
     hosts:      files nis dns
     ...
     #### EOF ####
    


Next Previous Contents


HOWTOs Index

 
  
 
 
 


Linux Kernel 2.2 pre-patch 2.2.19-15
Gaim 0.11.0-pre5
cdrecord 1.10a15
gnucash 1.5.3
FOX 0.99.160
Code Forge IDE 1.6.5
Firestarter 0.6.1
QCad 1.4.6
galeon 0.10.1



Pan 0.9.4
GnomeICU 0.96
FVWM 2.2.5
gcombust 0.1.42
Smalltalk 1.95.3
cfengine 1.6.3
Linberto 1.0.5
LilyPond 1.3.132
GTK+ Object Builder 1.0.7
fcron 1.0.1
gif2png 2.4.1
ImPress 1.1-b7
dhcpcd 1.3.19-pl7
WebSupport 2.0.11
Partition Image 0.5.4
Komba 0.7