[7.850][QUESTION][ANSWERED] Additional Addresses not showing at terminal

Hello Friends !

Additional Addresses create but now able to see at terminal 



acenn:/home/login # ip addr
1: lo:  mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:1c:c0:aa:21:8c brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.100/24 brd 192.168.2.255 scope global eth0
    inet 192.168.1.10/24 scope global eth0
3: eth1:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:60:08:9b:a5:79 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.125/24 brd 192.168.1.255 scope global eth1
4: tun0:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
    link/[65534]
    inet 10.242.2.1 peer 10.242.2.2/32 scope global tun0
5: ppp0:  mtu 1396 qdisc pfifo_fast state UNKNOWN qlen 3
    link/ppp
    inet 10.242.1.1 peer 10.242.1.2/32 scope global ppp0
acenn:/home/login # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:1C:C0:AA:21:8C
          inet addr:192.168.2.100  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19595 errors:0 dropped:0 overruns:0 frame:0
          TX packets:29378 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5131062 (4.8 Mb)  TX bytes:20437935 (19.4 Mb)
          Interrupt:27 Base address:0x2000

eth1      Link encap:Ethernet  HWaddr 00:60:08:9B:A5:79
          inet addr:192.168.1.125  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25671 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21463 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:22443342 (21.4 Mb)  TX bytes:2191369 (2.0 Mb)
          Interrupt:21 Base address:0x1000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:133070 errors:0 dropped:0 overruns:0 frame:0
          TX packets:133070 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:32442572 (30.9 Mb)  TX bytes:32442572 (30.9 Mb)

ppp0      Link encap[:P]oint-to-Point Protocol
          inet addr:10.242.1.1  P-t-P:10.242.1.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1396  Metric:1
          RX packets:2515 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2775 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:257541 (251.5 Kb)  TX bytes:1675948 (1.5 Mb)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.242.2.1  P-t-P:10.242.2.2  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP 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:100
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

but i was able to ping that ip

why /what is  UNKNOWN state

thanks


update  why number are not in seqence

acenn:/home/login # ip addr show
1: lo:  mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:1c:c0:aa:21:8c brd ff:ff:ff:ff:ff:ff
    inet 192.168.2.100/24 brd 192.168.2.255 scope global eth0
    inet 192.168.1.15/24 scope global eth0
    inet 192.168.1.10/24 scope global secondary eth0
    inet6 fe80::21c:c0ff:feaa:218c/64 scope link
       valid_lft forever preferred_lft forever
3: eth1:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
    link/ether 00:60:08:9b:a5:79 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.125/24 brd 192.168.1.255 scope global eth1
    inet6 fe80::260:8ff:fe9b:a579/64 scope link
       valid_lft forever preferred_lft forever
4: tun0:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
    link/[65534]
    inet 10.242.2.1 peer 10.242.2.2/32 scope global tun0
7: ppp0:  mtu 1396 qdisc pfifo_fast state UNKNOWN qlen 3
    link/ppp
    inet 10.242.1.1 peer 10.242.1.2/32 scope global ppp0
acenn:/home/login #
  • In version 8 there are no alias interfaces anymore.

    Unfortunately ifconfig only displays the first IPv4 address
    but all ipv6 addresses.

    So please use "ip addr" to see all IPv4 and IPv6 addresses instead ifconfig.


    What do you mean by "number are not in sequence" ?
  • Hi,

    after number 4 there is number 7

    4: tun0:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
    link/[65534]
    inet 10.242.2.1 peer 10.242.2.2/32 scope global tun0


    7: ppp0:  mtu 1396 qdisc pfifo_fast state UNKNOWN qlen 3

    can u pls tell me more on this-----In version 8 there are no alias interfaces anymore
    Unfortunately ifconfig only displays the first IPv4 address
    but all ipv6 addresses.

    why/WHAT IS  its UNKNOWN 
    thanks
  • Hi !

    number 4 and number 6 yesterday it was showing 16 and 17 !
    please check image 
    but here it is showing additional address but it do u think it should have same name 

    pls check image 1 image 2 is old (last beta)
    https://community.sophos.com/products/unified-threat-management/astaroorg/f/98/t/67682

    thanks

    update--2: eth0:  mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
        link/ether 00:1c:c0:aa:21:8c brd ff:ff:ff:ff:ff:ff
        inet 192.168.2.100/24 brd 192.168.2.255 scope global eth0
        inet 192.168.1.15/24 scope global eth0
        inet 192.168.1.10/24 scope global secondary eth0
    here u can see -additional-addresses 

    please see image 3 (addionaladdress)

    update------
    after reboot i got right numbers /sequence  pls check image interface (no 4)
  • The posting from da_merlin was a bit misleading.

    The facts:
    1. "ifconfig" is deprecated since the release of ASG v7.
        Please use "ip".
    2. The "sequence number" of the interfaces is not important. There may be a reason, why number 5 is missing in your images.
    3. V8 supports additional addresses.
        Only the concept of "alias interfaces" is no longer supported since v7.

    An additional address is just that: one more address on an network interface.
    It's not another "alias interface". That concept was never implemented in the kernel, but only in "ifconfig". 

    Regards,
    Daniel
  • Astaro Beta Report
    --------------------------------
    Version: 7.850
    Type: QUESTION
    State: ANSWERED
    Reporter: utm_kid
    Contributor: 
    MantisID: 
    Target version: 
    Fixed in version: 
    --------------------------------