<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: A Beginner&#8217;s Guide to Configuring IPv4 and IPv6 Addresses in Linux	</title>
	<atom:link href="https://www.tecmint.com/linux-ip-address/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.tecmint.com/linux-ip-address/</link>
	<description>Tecmint - Linux Howtos, Tutorials, Guides, News, Tips and Tricks.</description>
	<lastBuildDate>Thu, 29 Jun 2023 05:12:51 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: haraldfourtytwo		</title>
		<link>https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2028472</link>

		<dc:creator><![CDATA[haraldfourtytwo]]></dc:creator>
		<pubDate>Thu, 22 Jun 2023 16:08:45 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51765#comment-2028472</guid>

					<description><![CDATA[Ah, it is working like this:
&lt;pre&gt;
#!/bin/bash
IPInterface=&quot;enp0s31f6&quot;
IPv6postfix=&quot;1234:5d78:1356:c234&quot;
IPv6address=$(nslookup service01.mydomainddd.myfritz.net &#124; grep &quot;$IPv6postfix&quot; &#124; sed &quot;s/Address: //&quot;)
IPv6address=&quot;${IPv6address}/64&quot;
echo &quot;$IPv6address&quot;
sudo ip addr add ${IPv6address} dev $IPInterface
&lt;/pre&gt;
I only have to put into an init script.]]></description>
			<content:encoded><![CDATA[<p>Ah, it is working like this:</p>
<pre>
#!/bin/bash
IPInterface="enp0s31f6"
IPv6postfix="1234:5d78:1356:c234"
IPv6address=$(nslookup service01.mydomainddd.myfritz.net | grep "$IPv6postfix" | sed "s/Address: //")
IPv6address="${IPv6address}/64"
echo "$IPv6address"
sudo ip addr add ${IPv6address} dev $IPInterface
</pre>
<p>I only have to put into an init script.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: haraldfourtytwo		</title>
		<link>https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2028456</link>

		<dc:creator><![CDATA[haraldfourtytwo]]></dc:creator>
		<pubDate>Thu, 22 Jun 2023 15:14:47 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51765#comment-2028456</guid>

					<description><![CDATA[Hi,

I face the following situation: The Internet provider has switched to IPv6.

This means the first 4 blocks, e.g., &lt;strong&gt;a02:560:4c19:cd00.......&lt;/strong&gt; are changing time by time.

The Internet router is able to configure &quot;port forwarding&quot; for IPv6. Indeed, it is not port forwarding, but routing to an IPv6 address in my network.

Unfortunately, the  Internet router is not able to route the dynamic part of the IPv6 address of my internal server. I can only configure a fix  postfix of the IPv6 address:

let it be: &lt;strong&gt;........ 2001:db8:1234:abcd&lt;/strong&gt;

While the prefix is changing by the internet provider, the postfix I set it to fix.

To make a service from my internal address available to the internet, I must configure the IPv6 address of my server with the dynamic prefix of the router and the fix postfix configured for routing.  

Is it possible to configure it?

Clear, it is a bug in my internet router.

Another way, maybe I will try at the weekend, while the server is getting up, I can call via IPv4 DNS to get the current IPv6 address, put it into the configuration, and restart the network stack.]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I face the following situation: The Internet provider has switched to IPv6.</p>
<p>This means the first 4 blocks, e.g., <strong>a02:560:4c19:cd00&#8230;&#8230;.</strong> are changing time by time.</p>
<p>The Internet router is able to configure &#8220;port forwarding&#8221; for IPv6. Indeed, it is not port forwarding, but routing to an IPv6 address in my network.</p>
<p>Unfortunately, the  Internet router is not able to route the dynamic part of the IPv6 address of my internal server. I can only configure a fix  postfix of the IPv6 address:</p>
<p>let it be: <strong>&#8230;&#8230;.. 2001:db8:1234:abcd</strong></p>
<p>While the prefix is changing by the internet provider, the postfix I set it to fix.</p>
<p>To make a service from my internal address available to the internet, I must configure the IPv6 address of my server with the dynamic prefix of the router and the fix postfix configured for routing.  </p>
<p>Is it possible to configure it?</p>
<p>Clear, it is a bug in my internet router.</p>
<p>Another way, maybe I will try at the weekend, while the server is getting up, I can call via IPv4 DNS to get the current IPv6 address, put it into the configuration, and restart the network stack.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026948</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Fri, 16 Jun 2023 08:36:38 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51765#comment-2026948</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026940&quot;&gt;Thomas Schäfer&lt;/a&gt;.

@Thomas,

I don&#039;t think the gateway6 parameter is deprecated in the netplan configuration. Any source you have please share...]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026940">Thomas Schäfer</a>.</p>
<p>@Thomas,</p>
<p>I don&#8217;t think the gateway6 parameter is deprecated in the netplan configuration. Any source you have please share&#8230;</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Thomas Schäfer		</title>
		<link>https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026940</link>

		<dc:creator><![CDATA[Thomas Schäfer]]></dc:creator>
		<pubDate>Fri, 16 Jun 2023 07:48:50 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51765#comment-2026940</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026922&quot;&gt;Ravi Saive&lt;/a&gt;.

Thank you, it may help users with old Ubuntu versions.

In newer versions, gateway6 is deprecated.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026922">Ravi Saive</a>.</p>
<p>Thank you, it may help users with old Ubuntu versions.</p>
<p>In newer versions, gateway6 is deprecated.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Ravi Saive		</title>
		<link>https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026922</link>

		<dc:creator><![CDATA[Ravi Saive]]></dc:creator>
		<pubDate>Fri, 16 Jun 2023 06:31:31 +0000</pubDate>
		<guid isPermaLink="false">https://www.tecmint.com/?p=51765#comment-2026922</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026631&quot;&gt;Thomas Schäfer&lt;/a&gt;.

@Thomas,

To configure an IPv6 address using Netplan, you can follow these steps:

&lt;strong&gt;1.&lt;/strong&gt; Open the Netplan configuration file using a text editor. 
&lt;pre&gt;
$ sudo nano /etc/netplan/01-netcfg.yaml
&lt;/pre&gt;
Add the following network configuration to configure an IPv6 address.
&lt;pre&gt;
network:
  version: 2
  renderer: networkd
  eth0:
    addresses:
      - &lt;strong&gt;2001:db8:1234:abcd::1/64&lt;/strong&gt;
    gateway6: &lt;strong&gt;2001:db8:1234:abcd::a&lt;/strong&gt;
&lt;/pre&gt;
In the above example, the interface &lt;code&gt;eth0&lt;/code&gt; is configured with the static IPv6 address &lt;strong&gt;2001:db8:1234:abcd::1&lt;/strong&gt; with a prefix length of &lt;strong&gt;/64&lt;/strong&gt;. The IPv6 gateway is set to &lt;strong&gt;2001:db8:1234:abcd::a&lt;/strong&gt;.

&lt;strong&gt;2.&lt;/strong&gt; Apply the changes by running the following command:
&lt;pre&gt;
$ sudo netplan apply
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a target="_blank" href="https://www.tecmint.com/linux-ip-address/comment-page-1/#comment-2026631">Thomas Schäfer</a>.</p>
<p>@Thomas,</p>
<p>To configure an IPv6 address using Netplan, you can follow these steps:</p>
<p><strong>1.</strong> Open the Netplan configuration file using a text editor. </p>
<pre>
$ sudo nano /etc/netplan/01-netcfg.yaml
</pre>
<p>Add the following network configuration to configure an IPv6 address.</p>
<pre>
network:
  version: 2
  renderer: networkd
  eth0:
    addresses:
      - <strong>2001:db8:1234:abcd::1/64</strong>
    gateway6: <strong>2001:db8:1234:abcd::a</strong>
</pre>
<p>In the above example, the interface <code>eth0</code> is configured with the static IPv6 address <strong>2001:db8:1234:abcd::1</strong> with a prefix length of <strong>/64</strong>. The IPv6 gateway is set to <strong>2001:db8:1234:abcd::a</strong>.</p>
<p><strong>2.</strong> Apply the changes by running the following command:</p>
<pre>
$ sudo netplan apply
</pre>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
