This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2EVM5777: Enabling static ip address on eth1

Part Number: TDA2EVM5777


Tool/software: Linux

Hi,


I have a static ip address for my target board. I want to use this ip address on eth1.

Below is my kernel command line :

console=ttyS0,115200n8 vram=16M root=PARTUUID=5f7cc9db-02 rw rootwait ip=10.31.18.17 mem=1024M

With this when the board boots it perform DHCP and RARP requests for two time then it fails.

Then I have modified /etc/network/interfaces as below

iface eth1 inet static
        address 10.31.18.17
        netmask 255.255.255.0
        gateway 10.31.18.1

and tried with ifup eth1.

Now I can see inet addr:10.31.18.17  Bcast:10.31.18.255  Mask:255.255.255.0 for eth1 with ifconfig.

But I am unable to ping to other hosts. Am I missing something? Please help.

Thanks.