All pastes #577177 Raw Edit

Something

public text v1 · immutable
·published 2007-06-19 20:15 UTC
rendered paste body
bk@realhost-x2100:~$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:36:6C:F0:21
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11469 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1053730 (1.0 MiB)  TX bytes:378 (378.0 b)
          Interrupt:58 Base address:0x4000

eth2      Link encap:Ethernet  HWaddr 00:16:36:6C:F0:1E
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8510 errors:0 dropped:0 overruns:0 frame:0
          TX packets:379 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:779760 (761.4 KiB)  TX bytes:64920 (63.3 KiB)
          Interrupt:74

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:494 errors:0 dropped:0 overruns:0 frame:0
          TX packets:494 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:47981 (46.8 KiB)  TX bytes:47981 (46.8 KiB)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:172.16.131.1  Bcast:172.16.131.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet addr:172.16.231.1  Bcast:172.16.231.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

bk@realhost-x2100:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo eth2
iface lo inet loopback

## For virtual machines (eth0)
allow-hotplug eth0
iface eth0 inet manual
        up ifconfig eth0 0.0.0.0 up
        up ip link set eth0 promisc on
        down ip link set eth0 promisc off
        down ifconfig eth0 down

# The primary network interface
allow-hotplug eth2
#iface eth2 inet dhcp

#Fungerande konf utkommenterade av BK
#iface eth2 inet manual
#        up ifconfig eth2 192.168.1.10 up
#        up ip link set eth0 promisc on
#        down ip link set eth2 promisc off

#       down ifconfig eth2 down
iface eth2 inet static
address 192.168.1.10
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

#iface eth2 inet static
#address 10.0.0.1
#netmask 255.255.255.0
#broadcast 10.0.0.255
#gateway 10.0.0.2
bk@realhost-x2100:~$ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:36:6C:F0:21
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:11592 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1064890 (1.0 MiB)  TX bytes:420 (420.0 b)
          Interrupt:58 Base address:0x4000

eth2      Link encap:Ethernet  HWaddr 00:16:36:6C:F0:1E
          inet addr:192.168.1.10  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8530 errors:0 dropped:0 overruns:0 frame:0
          TX packets:437 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:782195 (763.8 KiB)  TX bytes:75716 (73.9 KiB)
          Interrupt:74

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:494 errors:0 dropped:0 overruns:0 frame:0
          TX packets:494 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:47981 (46.8 KiB)  TX bytes:47981 (46.8 KiB)

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:C0:00:01
          inet addr:172.16.131.1  Bcast:172.16.131.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

vmnet8    Link encap:Ethernet  HWaddr 00:50:56:C0:00:08
          inet addr:172.16.231.1  Bcast:172.16.231.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

bk@realhost-x2100:~$





------

realhost-x2200m2-1:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo eth6
iface lo inet loopback

# For virtual machines (eth0)
allow-hotplug eth4
iface eth4 inet manual
        up ifconfig eth4 0.0.0.0 up
        up ip link set eth4 promisc on
        down ip link set eth4 promisc off
        down ifconfig eth4 down

# The primary network interface
allow-hotplug eth6
#iface eth6 inet dhcp

#Fungerande konf utkommenterade av BK
#iface eth2 inet manual
#        up ifconfig eth2 192.168.1.10 up
#        up ip link set eth0 promisc on
#        down ip link set eth2 promisc off
#        down ifconfig eth2 down

iface eth6 inet static
address 84.243.2.53
netmask 255.255.255.224
broadcast 84.243.2.63
network 84.243.2.32
gateway 84.243.2.62
realhost-x2200m2-1:~# ifconfig
eth4      Link encap:Ethernet  HWaddr 00:16:36:D2:EF:DF
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:433455 errors:0 dropped:0 overruns:0 frame:0
          TX packets:461057 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:41253880 (39.3 MiB)  TX bytes:255422569 (243.5 MiB)
          Interrupt:66

eth6      Link encap:Ethernet  HWaddr 00:16:36:D2:EF:E1
          inet addr:84.243.2.53  Bcast:84.243.2.63  Mask:255.255.255.224
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:98731 errors:0 dropped:0 overruns:0 frame:0
          TX packets:46737 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:12323560 (11.7 MiB)  TX bytes:241623224 (230.4 MiB)
          Interrupt:233 Base address:0x6000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:10 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:736 (736.0 b)  TX bytes:736 (736.0 b)

realhost-x2200m2-1:~#