logo

Could not compile stylesheet for simplistic. Using last compiled stylesheet.
Question
fparadell
fparadell
Offline
0
Hello every body!

I see in my igep with yocto Rootfs in flash, I have double ip for eth0:

#ifconfig
eth0 Link encap:Ethernet HWaddr B2:B0:14:B5:CD:00
inet addr:192.168.0.157 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1151922 errors:0 dropped:1370 overruns:0 frame:0
TX packets:1103498 errors:1065 dropped:0 overruns:0 carrier:9
collisions:0 txqueuelen:1000
RX bytes:212596494 (202.7 MiB) TX bytes:162069978 (154.5 MiB)
Interrupt:80

eth0:0 Link encap:Ethernet HWaddr B2:B0:14:B5:CD:00
inet addr:192.168.0.175 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:80

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:492 errors:0 dropped:0 overruns:0 frame:0
TX packets:492 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:25128 (24.5 KiB) TX bytes:25128 (24.5 KiB)

I don't find where is the configuration of the secondary ip, eth0:0 that uses the IP address192.168.0.175 ???

This is the configuration of my /etc/network/interfaces:

#cat /etc/network/interfaces

# The loopback interface
auto lo
iface lo inet loopback

# Wired or wireless interfaces
auto eth0
iface eth0 inet static
address 192.168.0.157
netmask 255.255.255.0
network 192.168.0.0


How can I delete the secondary IP?

Thank's in advance,

Fran

Accepted Answer

Thursday, February 20 2014, 01:11 PM - #permalink
0
Hi Fran,

I don't find where is the configuration of the secondary ip, eth0:0 that uses the IP address192.168.0.175 ???

eth0:0 is configured via dhcp client (udhcpc), see /etc/init.d/ethalias.sh script

How can I delete the secondary IP?

remove ethalias.sh script to avoid eth0:0 configuration

Cheers!
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    fparadell
    fparadell
    Offline
    Friday, February 21 2014, 07:16 AM - #permalink
    0
    Thank you very much, Pau.
    The reply is currently minimized Show
Your Reply

SUPPORT


This email address is being protected from spambots. You need JavaScript enabled to view it.
This email address is being protected from spambots. You need JavaScript enabled to view it.
IGEP Community Wiki
IGEP Community Forum
IGEP Community Online Chat