怎样重装网卡

怎样重装网卡

我装7.1时配置了两块网卡
现在想更改ip 网关  请问怎么作      
first netcard is eth0,second is eth1

modify IP command:
ifconfig eth0 <IP1> netmask <netmask>
ifconfig eth1 <IP2> netmask <netmask>

modify GateWay command:
route add -net <network1> gw <gateway1> netmask <netmask1>
route add -net <network2> gw <gateway2> netmask <netmask2>