Re: network ip config question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Feb 18, 2007 at 13:18:22 +0100,
  michiel <m.karsch@xxxxxxxxx> wrote:
> local network:
> eth0      Link encap:Ethernet  HWaddr 00:0E:2E:54:9B:D6
>           inet addr:192.168.0.12  Bcast:192.168.0.255  Mask:255.255.255.0
> 
> adsl modem conn:
> eth1      Link encap:Ethernet  HWaddr 00:02:44:27:BC:7E
>           inet addr:213.10.28.64  Bcast:213.10.28.64  Mask:255.255.255.255
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use 
> Iface
> 10.0.0.138      213.10.28.64    255.255.255.255 UGH   0      0        0 eth1
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
> 0.0.0.0         10.0.0.138      0.0.0.0         UG    0      0        0 eth1

Using the ip command you can set up something simpler by hand.
ip addr add dev eth1 213.10.28.64 peer 10.0.0.138/32
Keep your default route as before. Packets going out eth1 will get
213.10.28.64 as their source address by default.

Unfortunately Fedora's network config stuff doesn't let you do this.
Also, I don't know how easy it is to do this when the address you need comes
via dhcp.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux