Changes between Version 2 and Version 3 of NetworkingSteps


Ignore:
Timestamp:
Jan 1, 2011, 6:53:28 PM (10 years ago)
Author:
stappers
Comment:

IPalias

Legend:

Unmodified
Added
Removed
Modified
  • NetworkingSteps

    v2 v3  
    7272==== host network reconfigure ====
    7373
    74 Work in progress
     74Real debwrt devices have default the address {{{192.168.1.1}}}.
     75When your computer has addres example given {{{192.168.1.2}}}
     76then you don't have to ''reconfigure'' your network.
     77
     78If your computer has e.g. {{{172.24.0.21}}} you can ''avoid reconfigure''
     79by using an '''IP-alias'''. It is done by this command
     80{{{
     81sudo ifconfig eth0:1 192.168.1.2
     82}}}
     83
     84Checking the host computer network configuration starts no with these commands
     85{{{
     86/sbin/ifconfig eth0
     87/sbin/ifconfig eth0:1
     88}}}
     89will '''show'''
     90{{{
     91eth0      Link encap:Ethernet  HWaddr 00:22:15:fd:e4:13 
     92          inet addr:172.24.0.21  Bcast:172.24.0.63  Mask:255.255.255.192
     93          inet6 addr: fe80::222:15ff:fefd:e413/64 Scope:Link
     94          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     95          RX packets:4282 errors:0 dropped:0 overruns:0 frame:0
     96          TX packets:2207 errors:0 dropped:0 overruns:0 carrier:0
     97          collisions:0 txqueuelen:0
     98          RX bytes:331645 (323.8 KiB)  TX bytes:410611 (400.9 KiB)
     99
     100eth0:1    Link encap:Ethernet  HWaddr 00:22:15:fd:e4:13 
     101          inet addr:192.168.1.2  Bcast:192.168.1.255  Mask:255.255.255.0
     102          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
     103}}}
     104Your desktop computer is now in two IPv4 networks.
    75105
    76106==== See Also ====